Socket configuration used when creating new sockets.
Parent Class
Type | Name | Signature |
---|---|---|
constructor | SocketConfig | public SocketConfig() |
method | set | public void set(System.Network.TCPOption, var) |
method | setLocalAddress | public void setLocalAddress(string) |
method | setLocalPort | public void setLocalPort(int) |
public SocketConfig()
Create a default socket configuration object.
public void set(TCPOption opt, var value)
Set value for a TCP option.
Parameters
Throws
public void setLocalAddress(string localaddr)
Set local address. No checking will be done until the setting is used.
Parameters
public void setLocalPort(int localport)
Set local port. No checking will be done until the setting is used.
Parameters