Friday, March 16, 2001 03:29 AM
Currently, I have not seen any third party classes which implement the socket type of SOCK_RAW. However, to implement this functionality you would need to write the code to perform SOCK_RAW sockets using C or C++ and then use JNI to call these classes from Java.
A good reference for writing such C code coule be found in UNIX Network Programming by W.Richard Stevens. Note: on UNIX raw socks are usually only allowed to be run be the system admin account (root).