NOT TESTED, Fixed up recv
NOT TESTED, fixed up send
NOT TESTED, No longer using jstrings in Java
NOT TESTED, no longer using jstrings in C
NOT WORKING