T
tukker
Hi All,
I am new to Java network programing. I wanted to write a server
code..which accept telnet connections and respond.
I used code from the below mentioned link.
http://zerioh.tripod.com/ressources/sockets.html
The server code run successfully. Using client code i was able to
connect to the server successfully.
But using the same code when i tried to login thru terminal server
(windows command prompt) and typed "bye" i see below exception.
java.io.StreamCorruptedException: invalid stream header: 6279650D
at java.ibjectInputStream.readStreamHeader(ObjectInputStream.java:
783)
at java.ibjectInputStream.<init>(ObjectInputStream.java:280)
at Provider.run(Provider.java:23)
at Provider.main(Provider.java:71)
What could be wrong?
My goal is to write a telnet server in java which can accept telnet
connection from windows command prompt or terminal server.
Please help me on the same.
THanks in Advance
KT
I am new to Java network programing. I wanted to write a server
code..which accept telnet connections and respond.
I used code from the below mentioned link.
http://zerioh.tripod.com/ressources/sockets.html
The server code run successfully. Using client code i was able to
connect to the server successfully.
But using the same code when i tried to login thru terminal server
(windows command prompt) and typed "bye" i see below exception.
java.io.StreamCorruptedException: invalid stream header: 6279650D
at java.ibjectInputStream.readStreamHeader(ObjectInputStream.java:
783)
at java.ibjectInputStream.<init>(ObjectInputStream.java:280)
at Provider.run(Provider.java:23)
at Provider.main(Provider.java:71)
What could be wrong?
My goal is to write a telnet server in java which can accept telnet
connection from windows command prompt or terminal server.
Please help me on the same.
THanks in Advance
KT