Hello All,
 
I'm trying to write a server using IO::Socket::INET, which is supposed to read different commands from a human client connected through telnet. Depending on the received commands, the server should process whatever it received to give an answer to the client (pretty simple, huh?).
 
The thing is that i just don't understand how to use IO::Socket::INET to read the commands sent by the client (i'm getting stucked while reading the client), and i can't find a good example on the web of how to do that. Also, the documentation for IO::Socket::INET is not helping me too much.
 
Can anyone please give me a few urls where good examples of server-client conversations are explained or provide me with a good example of a server reading what the client says and answering according to that? Also, i want to understand how this should be written to accept several clients in the same port at the same time (like any server normally works).
 
Please forgive this kind of request. I'm a good experienced Perl programmer, but this is my first time working with sockets (without using a specific protocol module) and it's becoming a pain. :-P
 
Thanks in advance.
 
Paco.
 
 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to