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.

RELATED TO modbus_get_socket…

AUTHORS

The libmodbus documentation was written by St\('ephane Raimbault <\m[blue][email protected]\m[]\s-2\u[1]\d\s+2>

NOTES