udpclient_object.Client Method

Returns the Socket Object associated with a UdpClient Object.

...udpclient_object.Client

Prerequisites

None

Parameters

None

Remarks

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

Examples

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

See Also

Networking Classes | tcpclient_object.Client