TcpProcess handles and manipulates the TCP process.
More...
TcpProcess handles and manipulates the TCP process.
◆ connect()
Start a tcp connection for connecting.
- Parameters
-
destinationIp,destination | ip address at which the tcp connection will connect to |
destinationPort,destination | port number at which the tcp connection will connect to |
sourcePort,source | port number at which the tcp connection is from |
timeout,the | time out value at which the tcp connection will stop trying to connect |
frameInstance,frameInstance | object |
- Returns
- CustomTcpProcess, CustomTcpProcess object
◆ deleteCustomProcess()
Delete a custom tcp process created for listening or connecting.
- Parameters
-
◆ getNagleWaitingInterval()
int TcpProcess::getNagleWaitingInterval |
( |
| ) |
|
Returns Nagle's algorithm waiting interval.
- Returns
- int, Nagle's algorithm waiting interval.
◆ getUserDefinedMSS()
short TcpProcess::getUserDefinedMSS |
( |
| ) |
|
Returns the maximum segment size value.
- Returns
- short, the maximum segment size value.
◆ getUserDefinedWindowSize()
int TcpProcess::getUserDefinedWindowSize |
( |
| ) |
|
Returns the window size.
- Returns
- int, the window size.
◆ isNagleEnabled()
bool TcpProcess::isNagleEnabled |
( |
| ) |
|
Returns true if Nagle's algorithm is enabled, otherwise false.
- Returns
- bool, true if Nagle's algorithm is enabled, otherwise false.
◆ listen()
Start a tcp connection that listens.
- Parameters
-
port,port | number at which the tcp connection listens at |
requestNotify,true | if a notify is requested or false if it's not |
- Returns
- CustomTcpProcess, CustomTcpProcess object
◆ setNagleEnabled()
void TcpProcess::setNagleEnabled |
( |
bool |
| ) |
|
Enables or disables Nagle's algorithm.
- Parameters
-
val,true | to enable Nagle's algorithm, false to disable it. |
◆ setNagleWaitingInterval()
void TcpProcess::setNagleWaitingInterval |
( |
int |
| ) |
|
Sets Nagle's algorithm waiting interval.
- Parameters
-
interval,Nagle's | algorithm waiting interval. |
◆ setUserDefinedMSS()
void TcpProcess::setUserDefinedMSS |
( |
short |
| ) |
|
Sets the maximum segment size value.
- Parameters
-
short,the | maximum segment size value. |
The documentation for this class was generated from the following file: