Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Client connection/disconnection...
jkd

From: Athens, OR USA
Posts: 7
Member Since: 04/30/04
posted May 7, 2004 8:30 AM

How can I notice when a particular client connect or disconnect from my server
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 7, 2004 8:50 AM

I depends on how you write the code. The way I do it is like in the sample apps. If you take a look at that code you will notice that the entire life of the child connection occurs inside the Connection event.

We create a class that handles all the aspects of the session and then we execute a method that returns when the session is done (either by us ending it or the remote side ending abruptly)

Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX