EsotericSoftware / kryonet

TCP/UDP client/server library for Java, based on Kryo
BSD 3-Clause "New" or "Revised" License
1.81k stars 415 forks source link

Great program! I am curious if you can connect to an array of TCP ports and only several UDP ports? #152

Closed tbraun96 closed 5 years ago

tbraun96 commented 5 years ago

Title says it all

tbraun96 commented 5 years ago

Server server = new Server() for (int i = 25000; i < PORTS_MAX; i++) { server.bind(i); }

This should work. Hopefully people find this useful. /close