ServerHandle Property  
 

Return the handle to the socket created to listen for client connections.

Syntax

object.ServerHandle

Remarks

The ServerHandle read-only property returns the handle of the server socket that was created to listen for client connections. If the server has not been started, a value of -1 is returned. This property can be used in conjunction with direct calls to the Windows Sockets API.

Data Type

Integer (Int32)

See Also

IsListening Property, Start Method, Stop Method