UdpClient Constructor
Namespace: Riptide.Transports.Udp
Assembly: RiptideNetworking.dll
UdpClient(SocketMode, int)
Initializes the transport.
public UdpClient(SocketMode mode = SocketMode.Both, int socketBufferSize = 1048576)
Parameters
SocketMode | mode |
Whether to create an IPv4 only, IPv6 only, or dual-mode socket. |
int | socketBufferSize |
How big the socket's send and receive buffers should be. |