in reply to Tutorials on Writing servers
and then read from $sock.$sock = IO::Socket::INET->new(Listen => 5, LocalAddr => 'localhost', LocalPort => 9000, Proto => 'tcp');
If you are on *ix, you can have the OS handle the networking for you by using inetd.
I don't know of any generic 'server' tutorials, but if you are stuck at a particular point that could make a better question.
|
|---|