7 modbus_get_socket - get the current socket of the context
12 *int modbus_get_socket(modbus_t *'ctx');*
17 The *modbus_get_socket()* function shall return the current socket or file
18 descriptor of the libmodbus context.
23 The function returns the current socket or file descriptor of the context if
24 successful. Otherwise it shall return -1 and set errno.
29 linkmb:modbus_set_socket[3]
34 The libmodbus documentation was written by Stéphane Raimbault
35 <stephane.raimbault@gmail.com>