MODBUS_GET_SOCKET(3) Libmodbus Manual MODBUS_GET_SOCKET(3)
NAME
modbus_get_socket - get the current socket of the context
SYNOPSIS
int modbus_get_socket(modbus_t *ctx);
DESCRIPTION
The modbus_get_socket() function shall return the current socket or file descriptor of the libmodbus context.
RETURN VALUE
The current socket or file descriptor of the context.
SEE ALSO
modbus_set_socket(3)
AUTHORS
The libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>
NOTES
1. stephane.raimbault@gmail.com
mailto:stephane.raimbault@gmail.com
libmodbus 3.0.3 05/26/2012 MODBUS_GET_SOCKET(3)