Click or drag to resize

TcpServerOpen Method

Overload List
  NameDescription
Public methodStatic memberCode exampleOpen(Int32, NotifyDataChangedEventHandler)
Opens a TCP 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 memberCode exampleOpen(Int32, ServiceClientAsyncIByteStreamService)
Opens a TCP 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 memberCode exampleOpen(Int32, ServiceClientAsyncIPacketIOService)
Opens a TCP 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