Link
Functions (almost all the same from 39dll):
receivemessage(Socket socket) //returns an int of the size of the buffer sendmessage(Socket socket) //sends the buffer to a socket (packet) clearbuffer() //clears the buffer dumpbuffer() //dumps the buffer into the console writebyte(byte val) //writes a byte to the buffer (stored as an int in the JVM though) writeint(int val) //write a 4-byte integer to the buffer writestring(String str) //writes a string to the buffer (only 1 argument, unlike 39dll). readbyte() //reads the next byte in the buffer readstring() //reads a string from the buffer readint() //reads the next int from the buffer tcplisten(int port, int maxconnections, int blocking) //returns a ServerSocket (null if none) tcpaccept(ServerSocket socket, int blocking) //returns a socket of a person connecting to the ServerSocket (null if none)











