IUdpSocketFactory

Ecng.Net

Factory for creating UDP sockets.

メソッド

Create
public IUdpSocket Create(AddressFamily addressFamily)
result = iUdpSocketFactory.Create(addressFamily)

Creates a new UDP socket.

addressFamily
The address family (IPv4 or IPv6).

戻り値: The UDP socket.