Options that control how TCP connections are established
More...
Options that control how TCP connections are established
◆ ConnectOptions()
dnp3.ConnectOptions.ConnectOptions |
( |
| ) |
|
|
inline |
Initialize to the defaults
◆ SetLocalEndpoint()
void dnp3.ConnectOptions.SetLocalEndpoint |
( |
string |
endpoint | ) |
|
|
inline |
Set the local address to which the socket is bound
If not specified, then any available adapter may be used with an OS assigned port.
- Parameters
-
endpoint | String in 'address:port' format, where address can be IPv4 or IPv6. Using 0 for the port results in an OS assigned port |
- Exceptions
-
◆ SetTimeout()
void dnp3.ConnectOptions.SetTimeout |
( |
TimeSpan |
timeout | ) |
|
|
inline |
Set a timeout for the TCP connection that might be less than the default for the OS
- Parameters
-
The documentation for this class was generated from the following file: