Class NetworkSocketOption
Network socket options.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class NetworkSocketOption : Enum
Fields
Broadcast
Allows for sending broadcast data.
Declaration
public const NetworkSocketOption Broadcast
Field Value
NetworkSocketOption
|
Debug
Enables debugging info recording.
Declaration
public const NetworkSocketOption Debug
Field Value
NetworkSocketOption
|
DontRoute
Indicates that outgoing data should be sent on whatever interface the socket is bound to and not a routed on some other interface.
Declaration
public const NetworkSocketOption DontRoute
Field Value
NetworkSocketOption
|
Error
The last socket error code.
Declaration
public const NetworkSocketOption Error
Field Value
NetworkSocketOption
|
IPv6Only
Enables IPv6/Ipv4 dual-stacking, UDP/TCP.
Declaration
public const NetworkSocketOption IPv6Only
Field Value
NetworkSocketOption
|
KeepAlive
Keeps connections alive.
Declaration
public const NetworkSocketOption KeepAlive
Field Value
NetworkSocketOption
|
Linger
Lingers on close if data present.
Declaration
public const NetworkSocketOption Linger
Field Value
NetworkSocketOption
|
Mtu
Retrieve the current path MTU, the socket must be connected UDP/TCP.
Declaration
public const NetworkSocketOption Mtu
Field Value
NetworkSocketOption
|
NoDelay
Enables the Nagle algorithm for TCP sockets.
Declaration
public const NetworkSocketOption NoDelay
Field Value
NetworkSocketOption
|
OOBInline
Allows out-of-bound data to be returned in-line with regular data.
Declaration
public const NetworkSocketOption OOBInline
Field Value
NetworkSocketOption
|
RecvBuffer
Socket receive data buffer size.
Declaration
public const NetworkSocketOption RecvBuffer
Field Value
NetworkSocketOption
|
RecvTimeout
The timeout in milliseconds for blocking receive calls.
Declaration
public const NetworkSocketOption RecvTimeout
Field Value
NetworkSocketOption
|
ReuseAddr
Allows local address reusing.
Declaration
public const NetworkSocketOption ReuseAddr
Field Value
NetworkSocketOption
|
SendBuffer
Socket send data buffer size.
Declaration
public const NetworkSocketOption SendBuffer
Field Value
NetworkSocketOption
|
SendTimeout
The timeout in milliseconds for blocking send calls.
Declaration
public const NetworkSocketOption SendTimeout
Field Value
NetworkSocketOption
|
Type
Socket type, DGRAM, STREAM ..
Declaration
public const NetworkSocketOption Type
Field Value
NetworkSocketOption
|
UseLoopback
Uses the local loopback address when sending data from this socket.
Declaration
public const NetworkSocketOption UseLoopback
Field Value
NetworkSocketOption
|
value__
Declaration
public int value__
Field Value
System.Int32
|