Hi Friends,
I do have used POE to create client and a server available from URLs 
http://poe.perl.org/?POE_Cookbook/TCP_Servers and 
http://poe.perl.org/?POE_Cookbook/TCP_Clients.(and modified the server a bit to 
suite the need).
The server on successful connection by a client sends a welcome message . 
Client sends a request and server responds and immediately after that the 
conversation must stop.
Now when ever i connect the server everything works fine apart from the fact 
that the client does not disconnects immediately after receiving the message 
rather it waits for the completion of timeout function set by 
$_[KERNEL]->delay() and after this it disconnects.
If i place the timeout function immediately after a second reply from 
server(Ist is welcome mesage and second is response) the complete response is 
not rewceived but a part of it only.
Can anyone help me on how to disconnect from the client after the converstion 
is complete or when to know that the conversation is complate.
I have tried writing $_[KERNEL]->yield("shutdown") code in the ServerFlushed 
but the control perhaps do not passes to this function .
Also i would like  to see suggestions that whether this server can handle 
multiple simultaneous connections from many different clients.
Pl. help me , Thanks for your time and effort.
--
Regards
Abhishek jain
www.sms1.in 
www.webbee.biz 

Reply via email to