can I assume, that DefaultServer.broadcast will not block the thread invoking that method? does its behavior depends on transporting method (TCP/UDP)?
@zmogz said: can I assume, that DefaultServer.broadcast will not block the thread invoking that method? does its behavior depends on transporting method (TCP/UDP)?
It puts things in the write queue for each of the connections… they have their own threads that write.
So no, it never blocks ever.
1 Like