debian man page for modbus_receive

Query: modbus_receive

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MODBUS_RECEIVE(3)						 Libmodbus Manual						 MODBUS_RECEIVE(3)

NAME
modbus_receive - receive a indication request
SYNOPSIS
int modbus_receive(modbus_t *ctx, uint8_t *req);
DESCRIPTION
The modbus_receive() function shall receive an indication request from the socket of the context ctx. This function is used by Modbus slave/server to receive and analyze indication request sent by the masters/clients. If you need to use another socket or file descriptor than the one defined in the context ctx, see the function modbus_set_socket(3).
RETURN VALUE
The modbus_receive() function shall store the indication request in req and return the request length if sucessful. Otherwise it shall return -1 and set errno.
SEE ALSO
modbus_set_socket(3) modbus_reply(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_RECEIVE(3)
Related Man Pages
modbus_get_response_timeout(3) - debian
modbus_mapping_new(3) - debian
modbus_new_rtu(3) - debian
modbus_reply_exception(3) - debian
modbus_report_slave_id(3) - debian
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
Weird 'find' results
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?