Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MODBUS_GET_SOCKET(3)	       libmodbus Manual		  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
       modbus_set_socket(3)

AUTHORS
       The libmodbus documentation was written by StA(C)phane Raimbault
       <stephane.raimbault@gmail.com>

libmodbus v3.1.6		  03/01/2021		  MODBUS_GET_SOCKET(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=modbus_get_socket&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help