[3422] in java-interest
Re: Can I do UDP/IP with java.net.SocketImpl?
daemon@ATHENA.MIT.EDU (Jeffrey D. Chung)
Fri Nov 10 21:25:21 1995
From: jdchung@viper.cis.upenn.edu (Jeffrey D. Chung)
To: michael@earthlight.com (Michael Slominski)
Date: Fri, 10 Nov 1995 18:11:28 -0500 (EST)
Cc: java-interest@java.sun.com
In-Reply-To: <9511100653.AA02058@earthlight.com> from "Michael Slominski" at Nov 9, 95 10:53:09 pm
> I've started investigating a project that will require using UDP or raw
> IP transport protocol to ship data around. From reading the API
> documentation it looks like java.net.SocketImpl only does TCP. What's
> the scoop?
The java.net.Socket is anti-UDP. You need to modify a great deal to
allow it to support UDP. I'll release my code if I can dig it up.
As for RAW Sockets -- That requires Java to be run as superuser -- I'd
say, you probably do not want to go down that path...
-Jeff.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com