IPC@CHIP Modbus library – API Documentation

Header image

Main page


int mbTCP_cl_disconnect ( MbHandle  handle,
int *  errorCode 
)

Disconnects from the Modbus TCP server and close the socket.

Parameters:
[in] handle : Handle returned by mbTCP_cl_init()
[out] errorCode : Holds TCP/IP Socket API error code
Returns:
Result code:
MB_NO_ERROR: Success
MB_TCP_ERROR: TCP error, see parameter errorCode
Since:
V1.01





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Mar 9 18:00:33 2017 by Doxygen 1.6.1