Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [modbusTCP] Socket Closing Exception #670

Open
singlebear opened this issue Nov 22, 2022 · 1 comment
Open

[BUG] [modbusTCP] Socket Closing Exception #670

singlebear opened this issue Nov 22, 2022 · 1 comment

Comments

@singlebear
Copy link

win10.

The socket created by 'modbus_tcp_listen' Cannot be closed correctly by ‘_modbus_tcp_close’ or '_modbus_tcp_free'.
The TCP IP address and port are still occupied after use 'modbus_close' and 'modbus_free'.
Manually use 'closesocket ' to close the socket corresponding to the value returned by 'modbus_tcp_listen'.The modbustcp service with the same IP address and port can be started again

@modem-man-gmx
Copy link

do you talking about TCP lingering?
lingering in Winsock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants