TcpServer Constructor
Namespace: Riptide.Transports.Tcp
Assembly: RiptideNetworking.dll
Overloads
TcpServer(int) | Initializes the transport. |
TcpServer(IPAddress, int) | Initializes the transport, binding the socket to a specific IP address. |
TcpServer(int)
Initializes the transport.
public TcpServer(int socketBufferSize = 1048576)
Parameters
int | socketBufferSize |
How big the socket's send and receive buffers should be. |
TcpServer(IPAddress, int)
Initializes the transport, binding the socket to a specific IP address.
public TcpServer(IPAddress listenAddress, int socketBufferSize = 1048576)
Parameters
IPAddress | listenAddress |
The IP address to bind the socket to. |
int | socketBufferSize |
How big the socket's send and receive buffers should be. |