Hello,

I'm new to socket program in perl, and I'm having a
problem with a UDP server I've written.  It's a very
simple routine, using IO::Socket::INET and consisting
mainly of a while loop such as the following to handle
the incoming requests:

while ($server_socket->recv($msg, $MAXLEN))
{
   ...    

}

Anyway, this works primarily, except after a random
amount of time it seems to hang, and requires a ctrl-C
on the input window in order to continue.  When the
ctrl-C is given, it appears that a giant queue has
been built up behind this hung process, and it
dequeues rapidly.  Any idea why this might happen?

Thanks in advance for your time,
~tony

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to