tcpclient_object.Client Method

Returns the Socket Object associated with a TcpClient Object.

...tcpclient_object.Client

Prerequisites

None

Parameters

None

Remarks

Since all I/O is performed on Sockets, this method allows the Socket associated with a TcpClient object to be accessed.

Examples

Dim tc As New TcpClient(ep)
Dim sock As Socket
sock = tc.Client

See Also

Networking Classes | udpclient_object.Client