RE: basic question: handling input to TCP/IP server

2003-06-25 Thread McMahon, Christopher x66156
Else ur call to sysread/write may just block. see "perldoc IO::Select". -Sharad -Original Message- From: Gupta, Sharad Sent: Monday, June 23, 2003 3:36 PM To: 'McMahon, Christopher x66156'; [EMAIL PROTECTED] Subject: RE: basic question: handling input to TCP/IP server Someth

RE: basic question: handling input to TCP/IP server

2003-06-24 Thread Gupta, Sharad
quot;. -Sharad -Original Message- From: Gupta, Sharad Sent: Monday, June 23, 2003 3:36 PM To: 'McMahon, Christopher x66156'; [EMAIL PROTECTED] Subject: RE: basic question: handling input to TCP/IP server Something like this worked for me in the past: use strict; use IO::S

RE: basic question: handling input to TCP/IP server

2003-06-24 Thread McMahon, Christopher x66156
rite() for writing. perldoc -f sysread perldoc -f syswrite -Sharad -Original Message- From: McMahon, Christopher x66156 [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: basic question: handling input to TCP/IP server Hello all... I've impl

RE: basic question: handling input to TCP/IP server

2003-06-23 Thread Gupta, Sharad
. perldoc -f sysread perldoc -f syswrite -Sharad -Original Message- From: McMahon, Christopher x66156 [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: basic question: handling input to TCP/IP server Hello all... I've implemented the TCP/IP s

basic question: handling input to TCP/IP server

2003-06-23 Thread McMahon, Christopher x66156
Hello all... I've implemented the TCP/IP server at the top of p.441 of The Camel (3rd edition) Chapter 16, and it's working fine. That is, it opens the port I tell it to, and other processes connect to it and happily send it stuff. (This is using IO::Socket::INET). But now I'm a little c