{"repo":"klaus7/jfastnet","free":true,"listed":false,"github":"https://github.com/klaus7/jfastnet","clone":"git clone https://github.com/klaus7/jfastnet.git","description":"Fast, reliable UDP messaging for Java. Designed for games.","language":"Java","stars":35,"topics":["java","networking","game-development","gamedev","udp","reliable-udp","messaging"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"JFastNet Fast, reliable and easy UDP messaging for Java. Designed for games. JFastNet is tolerant towards packet loss and when used in the right way it can provide your players with a smooth network gaming experience even in bad network conditions. The API of this library is subject to change. Maven The dependency for your POM: Example code The following code shows the important parts of a server-client communication: Click to see full sample code of HelloWorld.java Roadmap More documentation Documentation A comprehensive documentation can be found in the DOCUMENTATION.md file. The documentation is still a work-in-progress. The most important classes to look for in the beginning are the Config and the Message class. The JavaDoc there should provide you with the basic configuration possibilities of the library. Reliable sending There are currently two ways you can use to send a message in a reliable way. Sending the message unreliably is of course also an option. 1. Acknowledge packet 2. Sequence number Acknowledge packet The receiver of a message with reliable mode set to ACK PACKET will send an acknowledge packet to the other end upon receipt of the message. As long as the sender of the prior mentioned message doesn't receive an acknowledge packet it will keep resending the message. Attribute Value --------- :---: Reliable yes Ordered no Sequence number The receiver of a message with reliable mode set to SEQUENCE NUMBER will do nothing as long as the messages arrive in the e","default_branch":null,"files":null,"tree":[],"storefront":"/r/klaus7","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/klaus7/jfastnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}