TooTallNate / Java-WebSocket

A barebones WebSocket client and server implementation written in 100% Java.
http://tootallnate.github.io/Java-WebSocket
MIT License
10.53k stars 2.58k forks source link

after i call close() method, why the tcp connect do not disconnected? #1411

Closed TangDynasty06 closed 5 months ago

TangDynasty06 commented 6 months ago

i use java-Websocket as a client to connect my data server。 when i want to disconnect from server,i call close() method(in WebSocketClient class)。 but i find the tcp connection don't disconnected。 java-Websocket version is 1.5.6 image

PhilipRoman commented 6 months ago

Cannot reproduce this issue, for me TCP connection is closed as expected. Please provide a small program which reproduces the issue