Re: How to disconnect the client or when to know that the conversation is complete

2005-08-01 Thread m...@ejain.com
O.K. And how to disconnect the client if the connection is made through POE::Wheel::SocketFactory.I thik there is no shutdown method there. Pl. reply I shall be very grateful. -- Regards Abhishek jain Original Message: - From: Rocco Caputo [EMAIL PROTECTED] Date: Fri, 29 Jul 2005

Re: How to disconnect the client or when to know that the conversation is complete

2005-08-01 Thread David Davis
You just delete your readwrite wheel after all the data is flushed. David On 8/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: O.K. And how to disconnect the client if the connection is made through POE::Wheel::SocketFactory.I thik there is no shutdown method there. Pl. reply I shall be

How to disconnect the client or when to know that the conversation is complete

2005-07-29 Thread Abhishek Jain
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

Re: How to disconnect the client or when to know that the conversation is complete

2005-07-29 Thread Rocco Caputo
On Fri, Jul 29, 2005 at 09:56:06PM +0530, Abhishek Jain wrote: 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. 1. Client connects. 2. Server says hello. 3. Client sends