1MODBUS_RECEIVE_FROM(3)         Libmodbus Manual         MODBUS_RECEIVE_FROM(3)
2
3
4

NAME

6       modbus_receive_from - receive a indication request from a socket
7

SYNOPSIS

9       int modbus_receive_from(modbus_t *ctx, int sockfd, uint8_t *req);
10

DESCRIPTION

12       The modbus_receive_from() function shall receive an indication request
13       from the socket/file descriptor given in argument 'sockfd. This
14       function is used by Modbus slave/server to receive and analyze
15       indication request sent by the masters/clients.
16

RETURN VALUE

18       The modbus_receive_from() function shall store the indication request
19       in req and return the request length if sucessful. Otherwise it shall
20       return -1 and set errno.
21

SEE ALSO

23       modbus_receive(3)
24

AUTHORS

26       The libmodbus documentation was written by Stéphane Raimbault
27       <stephane.raimbault@gmail.com[1]>
28

NOTES

30        1. stephane.raimbault@gmail.com
31           mailto:stephane.raimbault@gmail.com
32
33
34
35libmodbus 3.0.8                   07/31/2019            MODBUS_RECEIVE_FROM(3)
Impressum