Start listening for TCP connection requests.
tcplistener_object.Start
Prerequisites
None
Parameters
None
Remarks
This method is used by TCP servers to start listening for connection requests from remote TCP clients. You can test if any requests are received by using the Pending property. After a request is received, it is accepted by calling the AcceptSocket method. After you accept a connection request, you can call the Stop method to cease accepting any further connection requests if you wish. Executing the Stop method does not effect your ability to continue to service datagrams for connections that have already been established.
If any network errors occur, this method throws an Exception.
Examples
Dim tl As New TcpListener(ep) ' Create listener object
Dim sock As Socket
tl.Start
sock = tl.AcceptSocket
See Also