Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/usr/bin/perl
use IO::Socket;
$sock = new IO::Socket::INET(
LocalPort => 2501,
Proto => 'tcp',
Listen => 10,
Reuse => 1,
Type => SOCK_STREAM );
die $@ unless $sock;
print "Listening for incoming connections...\n";
while ( $new_sock = $sock->accept() ) {
$clnt = $sock->sockhost();
print "New connection from $clnt...\n";
$new_sock->close;
}