Hi there, having a problem from a while. My udp server correctly receive and relay messages but when a client disconnect at the first attempt to send him a message the socket is marked as closed and from that moment on the server will not receive any messages even restarting the client. Even others clients processes will get socket closed error and will not receive or send, while the server will fail to send to any of those and stop receiving.
Running this on the same machine with simclients that correctly work on other implementations (zig, python)
Any idea?
Thank you in advance. ❤️
#UDP socket close and never refreshed
1 messages · Page 1 of 1 (latest)
Can you provide a reproduction? Claude was unable to reproduce this issue
Hi there Jarred!! Thank you for the reply
I made a simple test here to have a try https://github.com/gmlor/BunUDPTest/tree/main
First simpler version will just close on client close
Second will stop receiving
Sorry for eventual dumb errors and thanks
update: it seems this error is related to windows only, I'm testing it on ubuntu and seems to works fine
Ah that explains why Claude was unable to repro its running on Linux
If I remember correctly even using dgram with bun on windows I had similar problem
any advancement regarding this issue?
Had a try a month ago or so, after having seen some big changes regarding UDP in recent releases, but it seems the issue was still there