Closed don-pit closed 11 years ago
To close socket in posix one must use close(). In win32 one must use closesocket(). This difference could be wrapped into function called e.g. modbus_closesocket().
close()
closesocket()
modbus_closesocket()
Yes but I think it's not in the libmodbus scope to provide such wrapper (glib is the right place to do that for example).
To close socket in posix one must use
close()
. In win32 one must useclosesocket()
. This difference could be wrapped into function called e.g.modbus_closesocket()
.