Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Tutorials on Writing servers

by archon (Monk)
on Mar 21, 2001 at 02:46 UTC ( [id://65874]=note: print w/replies, xml ) Need Help??


in reply to Tutorials on Writing servers

Depends what kind of server you're writing. If you want to handle the networking with your server, you can use the example in the IO::Socket manpage:
$sock = IO::Socket::INET->new(Listen => 5, LocalAddr => 'localhost', LocalPort => 9000, Proto => 'tcp');
and then read from $sock.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://65874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found