Help with sending a packet
I am making a socket server and trying to send a Server -> Client packet but I am getting a
method ChiropteraServer#broadcast called with (Packet[id=4, data={0=abc, 1=asd}] (Packet)) threw a IllegalBlockingModeException: null
I tried a few stuff but I couldn't get it to work, one of the attempts is the one on github
The sendPacket method: https://github.com/erenkarakal/Chiroptera/blob/master/src/main/java/me/eren/chiroptera/ChiropteraServer.java#L128
!!! ping me if you respond please !!!4 Replies
⌛
This post has been reserved for your question.
Hey @eren.! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Have you tried leaving configureBlocking() alone?
you mean dont use it at all? i think i did but ill do it again
yeah, same issue
fixed it with a code i 'borrowed' from an old stackoverflow post
Post Closed
This post has been closed by <@587604022349791274>.