Query: modbus_receive_from
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MODBUS_RECEIVE_FROM(3) Libmodbus Manual MODBUS_RECEIVE_FROM(3)NAMEmodbus_receive_from - receive a indication request from a socketSYNOPSISint modbus_receive_from(modbus_t *ctx, int sockfd, uint8_t *req);DESCRIPTIONThe modbus_receive_from() function shall receive an indication request from the socket/file descriptor given in argument 'sockfd. This function is used by Modbus slave/server to receive and analyze indication request sent by the masters/clients.RETURN VALUEThe modbus_receive_from() function shall store the indication request in req and return the request length if sucessful. Otherwise it shall return -1 and set errno.SEE ALSOmodbus_receive(3)AUTHORSThe libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>NOTES1. stephane.raimbault@gmail.com mailto:stephane.raimbault@gmail.com libmodbus 3.0.3 05/26/2012 MODBUS_RECEIVE_FROM(3)