[2457] in java-interest

home help back first fref pref prev next nref lref last post

client-server using ONLY java.net.*

daemon@ATHENA.MIT.EDU (nataraj@cat.syr.edu)
Mon Oct 2 23:07:17 1995

From: nataraj@cat.syr.edu
To: java-interest@java.sun.com
Cc: nataraj@cat.syr.edu
Date: Mon, 02 Oct 95 12:34:01 -0400


Hi,

I am trying out the java.net classes. (Socket/ServerSocket,...)
>From the available documentation, I am not able to figure out the
relation between SocketImpl and the Socket/ServerSocket ...
Is there any simple/sample code out there, which uses ONLY java.net.*
classes and none of sun.java....? I want to try out only with
the java API classes. 
Or am I missing something? I looked up the java-interest archives but
many answers and sample code use NetworkClient and NetworkServer classes
which are NOT in java.* hierarchy.

Should I implement a whole SocketImpl subclass? If so, as i
understand I will end up writing a whole bunch of code (including native
code for socketCreate(), and related methods).

thanks for any pointers ....

-Nataraj
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post