PowerTCP Sockets for .NET
Start(ConnectThreadStart,IPEndPoint,Object) Method




A ConnectThreadStart delegate referencing the method to invoke on an IO completion thread as each connection is accepted.
Local endpoint to bind to.
Object to pass into the callback method when invoked; can be null.
Begin listening on the specified IPEndPoint.
Syntax
'Declaration
 
Public Overloads Sub Start( _
   ByVal callback As ConnectThreadStart, _
   ByVal localEP As IPEndPoint, _
   ByVal state As Object _
) 
'Usage
 
Dim instance As Server
Dim callback As ConnectThreadStart
Dim localEP As IPEndPoint
Dim state As Object
 
instance.Start(callback, localEP, state)
public void Start( 
   ConnectThreadStart callback,
   IPEndPoint localEP,
   object state
)
public: void Start( 
   ConnectThreadStart* callback,
   IPEndPoint* localEP,
   Object* state
) 
public:
void Start( 
   ConnectThreadStart^ callback,
   IPEndPoint^ localEP,
   Object^ state
) 

Parameters

callback
A ConnectThreadStart delegate referencing the method to invoke on an IO completion thread as each connection is accepted.
localEP
Local endpoint to bind to.
state
Object to pass into the callback method when invoked; can be null.
Remarks
This method does not block. Connections are accepted on IO completion threads and are reported to the specified delegate.
See Also

Reference

Server Class
Server Members
Overload List


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic