Improved networking performance and stability

This commit is contained in:
Obique PSWG
2016-01-31 15:35:38 -06:00
parent 731311ed2d
commit 925791f594
6 changed files with 254 additions and 126 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
package network;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
public interface PacketSender {
void sendPacket(InetSocketAddress sock, byte [] data);
void sendPacket(InetSocketAddress sock, ByteBuffer data);
}