http://www.perlmonks.org?node_id=11107580


in reply to Perl client blocking communication from server

Hello i am working with socket programming in Perl. It is a server client script. My server is able to handle multiple connections but my client hangs when i try to receive data from server. Client and server exchange two messages before communication between server and client can start. My client hangs when i try to catch the second message from the server. I can't figure why my clients get stuck at $handle->recv($nick_check,255);. I am new to socket programming any help would be greatly appreciated.

Hi,

Please explain what  $handle->recv($nick_check,255); means , exactly what its supposed to do