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

FreeBSD Manual Pages

  
 
  

home | help
modbus_get_socket()					   modbus_get_socket()

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  con-
       text if successful. Otherwise it	shall return -1	and set	errno.

See also
        modbus_set_socket <modbus_set_socket.md>

							   modbus_get_socket()

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+Ports+15.0>

home | help