![]() |
GaIA BIOS Library
|
Modbus/TCP platform-dependent function prototypes. More...
Functions | |
| int | mb_close_connection_and_relisten (mb_tcp_config_t *conf, uintptr_t socket, uint16_t tcp_port) |
| Closes the connection on the given socket and listens for a new one on the specified port. | |
Modbus/TCP platform-dependent function prototypes.
These functions normally have different implementations for a specific RTOS and TCP/IP library.
| int mb_close_connection_and_relisten | ( | mb_tcp_config_t * | conf, |
| uintptr_t | socket, | ||
| uint16_t | tcp_port ) |
Closes the connection on the given socket and listens for a new one on the specified port.
| conf | modbus slave configuration. |
| socket | socket in a connected state. |
| tcp_port | port to listen on. |