[3111] in java-interest
Sample server ( was Re: Using sockets )
daemon@ATHENA.MIT.EDU (Mike Fletcher)
Tue Oct 31 13:17:38 1995
To: java-interest@java.sun.com
From: Mike Fletcher <fletch@ain.bls.com>
In-Reply-To: Your message of "Tue, 31 Oct 1995 08:58:22 EST."
<199510311358.IAA15035@shale.dtd.com>
Date: Tue, 31 Oct 1995 11:16:46 -0500
Well, I've gotten several requests for my server code, so
I've put it up on the web at the following URL:
http://www.bwi.bls.com/~fletch/Server.java
Ideally it'd spawn off a new thread for each connection,
but I had to leave something for v2.0 :).
And I'm still looking for the Java equivalent of the following
C fragment:
sprintf( str, "%.4d", int_var );
I.e. I want to get an int zero-filled to 4 characters wide
in a string. TIA.
---
Fletch __`'/|
fletch@ain.bls.com "Lisa, in this house we obey the \ o.O' ______
404 713-0414(w) Laws of Thermodynamics!" H. Simpson =(___)= -| Ack. |
404 315-7264(h) PGP Print: 8D8736A8FC59B2E6 8E675B341E378E43 U ------
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com