modbus_get_socket man page

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 Stéphane Raimbault <stephane.raimbault@gmail.com[1]>

Notes

1.

stephane.raimbault@gmail.com

mailto:stephane.raimbault@gmail.com

Referenced By

libmodbus(7), modbus_set_socket(3).

04/02/2014 libmodbus 3.0.6 Libmodbus Manual