Class NetworkAdapterConfiguration
- Namespace
- BSGameLib.Networking
- Assembly
- BSGameLib.Networking.dll
Settings for a client or server adapter: the port, the address to bind to and the QUIC settings.
public class NetworkAdapterConfiguration
- Inheritance
-
NetworkAdapterConfiguration
- Inherited Members
Properties
BindAddress
The address a server listens on, for its QUIC listener and its UDP socket. Null, the default, is every address: IPv6 and IPv4 together where the host has IPv6. Read by servers only.
public IPAddress BindAddress { get; set; }
Property Value
Port
The port a server listens on. The server's unreliable traffic uses Port + 2, and
Port + 1 is unused. Read by servers only.
public int Port { get; set; }
Property Value
Quic
QUIC-specific configuration. Required on the server side (ServerCertificate must be set).
public QuicTransportConfiguration Quic { get; set; }