yes my server forks once the server starts it connects to a socket and starts to listen. then create processes as much as possible (about 50)
but when one process reach the line >> while($client=$sockHandle->accept()){ #lines to handle the client } all the other processes blocks so the problem is when the fist client connected while this process start to handle tat request one of the other process react to the line $client=$sockHandle->accept() then all the other processes get blocked so the so the process which have a request to handle cant do it I use Windows2000 problem in sort is even when I use fork() when I call the accept() method program stops all the works and waits for a incoming request ----- Original Message ----- From: "James Edward Gray II" <[EMAIL PROTECTED]> To: "Rakhitha Malinda Karunarathne" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 11:29 PM Subject: Re: Help me on concurant comiunication > This is a pretty involved issue, so I would need more information to > help. By multiple processes, do you mean your server forks? > > As for more information, Network Programming with Perl by Lincoln D. > Stein, covers this issue in detail and is quite good, I think. > > James > > On Tuesday, October 15, 2002, at 12:30 PM, Rakhitha Malinda > Karunarathne wrote: > > > I wrote a program (a server ) to listen for clients requests using > > multiple processes but while a one process waits to incoming client > > requests all the other processes blocks > > how can i over come this problem > > I used IO::Socket::INET for comiunication is there a better way and > > where can i find good documentation to learn about them > > ? > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]