TsgcUDPServer › Properties
Published properties grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| Active | Starts or stops the UDP listener; read to query whether the server is currently bound and accepting datagrams. |
| Host | Local IP address the server listens on when Bindings is empty; leave blank to accept on every interface. |
| Port | Local UDP port the server listens on when Bindings is empty. |
| Bindings | Collection of local IP/port endpoints that the server listens on for incoming UDP datagrams. |
| IPVersion | Selects the IP stack (IPv4 or IPv6) used by the UDP listener when a binding is created from Host and Port. |
| Name | Description |
|---|---|
| WatchDog | Automatic listener-recovery monitor that restarts the server after unexpected shutdowns or missed heartbeats. |
| Name | Description |
|---|---|
| DTLS | Enables Datagram TLS (DTLS) to encrypt the UDP traffic received and sent by this server. |
| DTLSOptions | Certificate, verification and OpenSSL settings applied when DTLS is enabled on the server. |
| Name | Description |
|---|---|
| LogFile | Writes every datagram received and sent by the server to a plain-text log file for diagnostics. |
| NotifyEvents | Controls how received-datagram, exception and lifecycle events are dispatched to the main thread. |
| Version | Read-only string with the sgcWebSockets library version that built this component. |
| Name | Description |
|---|---|
| Active | Starts or stops the UDP listener; read to query whether the server is currently bound and accepting datagrams. |
| Bindings | Collection of local IP/port endpoints that the server listens on for incoming UDP datagrams. |
| DTLS | Enables Datagram TLS (DTLS) to encrypt the UDP traffic received and sent by this server. |
| DTLSOptions | Certificate, verification and OpenSSL settings applied when DTLS is enabled on the server. |
| Host | Local IP address the server listens on when Bindings is empty; leave blank to accept on every interface. |
| IPVersion | Selects the IP stack (IPv4 or IPv6) used by the UDP listener when a binding is created from Host and Port. |
| LogFile | Writes every datagram received and sent by the server to a plain-text log file for diagnostics. |
| NotifyEvents | Controls how received-datagram, exception and lifecycle events are dispatched to the main thread. |
| Port | Local UDP port the server listens on when Bindings is empty. |
| Version | Read-only string with the sgcWebSockets library version that built this component. |
| WatchDog | Automatic listener-recovery monitor that restarts the server after unexpected shutdowns or missed heartbeats. |