[3547] in java-interest
Re: UDP with java.net.* (was: Can I do UDP/IP...)
daemon@ATHENA.MIT.EDU (Gary Aitken)
Wed Nov 15 22:07:29 1995
Date: Wed, 15 Nov 1995 17:09:40 -0700
From: garya@village.org (Gary Aitken)
To: michael@earthlight.com (Michael Slominski), java-interest@java.sun.com
>So now I need to know how to talk to the sun.net.* objects. I expect
>that this information will be volatile, or the sun.net.* classes would
>have been included with the other java.net.* classes, but that's ok because I
>just want to play around with them. So what are the public
>methods/objects of sun.net.DatagramPacket, sun.net.DatagramSocket, and
>sun.net.MulticastSocket?
cd to the directory containing the .class file and do:
javap sun.net.DatagramSocket
Unfortunately, this doesn't give you the signature of the methods, but does not
provide you with any useful information about how the individual arguments
should be interpreted. Which is why it would be nice if there were a javac
option to force /** comments into the .class file, which javap could then use.
I never saw a comment (no pun intended) from the java development team
regarding this possibility when it was first mentioned. Arthur et. al. -- do
you have any comments on this?
Gary Aitken garya@village.org
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com