modbus_get_socket.txt 553 B

12345678910111213141516171819202122232425262728293031323334
  1. modbus_get_socket(3)
  2. ====================
  3. NAME
  4. ----
  5. modbus_get_socket - get the current socket of the context
  6. SYNOPSIS
  7. --------
  8. *int modbus_get_socket(modbus_t *'ctx')*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_get_socket()_ function shall return the current socket or file
  12. descriptor of the libmodbus context.
  13. RETURN VALUE
  14. ------------
  15. The current socket or file descriptor of the context.
  16. SEE ALSO
  17. --------
  18. linkmb:modbus_set_socket[3]
  19. AUTHORS
  20. -------
  21. The libmodbus documentation was written by Stéphane Raimbault
  22. <stephane.raimbault@gmail.com>