Click or drag to resize

TpktServer Methods

The TpktServer type exposes the following members.

Methods
 NameDescription
Public methodStatic memberOpen(Int32, NotifyDataChangedEventHandler) Open a TPKT server. Creates a server and starts accepting connections, calling 'dataChangedHandler' with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpen(Int32, ServiceClientAsyncIPacketIOService) Open a TPKT server. Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Int32, NotifyDataChangedEventHandler) Open a TPKT server. Creates a server and starts accepting connections, calling 'dataChangedHandler' with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Int32, ServiceClientAsyncIPacketIOService) Open a TPKT server. Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Boolean, Int32, NotifyDataChangedEventHandler) Open a TPKT server. Creates a server and starts accepting connections, calling 'dataChangedHandler' with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Boolean, Int32, ServiceClientAsyncIPacketIOService) Open a TPKT server. Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Top
See Also