EsotericSoftware / kryonet

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

kryonet update latest jar #62

Closed erickga closed 9 years ago

erickga commented 10 years ago

Hi, I´ve been using the Kryonet2.21 library for an android project and I ´ve realized that there has been some new changes to this version (like ClientDiscoveryHandler.java and so on) I´ve downloaded the new project version but I cant make it run.. I keep getting a NoClassDefError when calling Server.class and I am pretty sure is because I am not building correctly the library Jar.. how can I build it so that I get a OneJar file?? (like in kryonet2.21)?? or is there some place where I can dowload it ?? thanks

erickga commented 10 years ago

Never mind, i manage to make it work.. by the way, udpconnection should be make Public... as a suggestion , i think discoverhosts method should return datagrampacket [] instead of inetaddress [].. that way the method would return the custom data sent and the inetaddress... just a suggestion

sreich commented 9 years ago

could you close this issue, given you've solved it.