Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (23 sloc) 0.633 kb
modbus_get_socket(3)
====================
NAME
----
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 function returns the current socket or file descriptor of the context if
successful. Otherwise it shall return -1 and set errno.
SEE ALSO
--------
linkmb:modbus_set_socket[3]
AUTHORS
-------
The libmodbus documentation was written by Stéphane Raimbault
<stephane.raimbault@gmail.com>
Jump to Line
Something went wrong with that request. Please try again.