![]() |
Java socket Server compile errors..
I'm trying to make a socket server froma tutorial I found on the net. here is the code:
:
import java.io.*;it gives me this error: Note: echo3.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. after i run with deprecation it says: echo3.java:40: warning: readLine() in java.io.DataInputStream has been deprecate (line = is.readLine();) Any idea on how I can fix this? (This is on a freebsd system incase that matters) |
AHh ... i was running it wrong... I was running it as: java echo3.class. I did it as java echo3 and it is running. Since this is a tutorial I am getting this from, what would be the best way to connect to the socket server at this point? Is there anyway to doit from telnet?
|
Re: Java socket Server compile errors..
Welcome to the self-help program.
|
Re: Java socket Server compile errors..
Quote:
|
| All times are GMT -5. The time now is 4:27 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC