UdpPeer Constructor
Namespace: Riptide.Transports.Udp
Assembly: RiptideNetworking.dll
UdpPeer(SocketMode, int)
Initializes the transport.
protected UdpPeer(SocketMode mode, int socketBufferSize)
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. |