ashok3sep
asked on
New Bie to Java I/O
Hai ,
i am quite new to this Java I/O technology .
I have a socket connection to a server and i now need to send some commands following some protocol rules to the server .
i also have to receive the datas from the server.
the commands i send has some strings ,integers and bytes and finally the checksum of the datas.
is it possible for me to send all the datatypes i need to send .
I get a response from the server if i send the commands correctly .
is it possible for me to write all the datatypes to a output stream of the server
if so what are the possibilites!!!!!!!!!!!!!! !
please help me out of this solution.
With regards,
Ashok.G
i am quite new to this Java I/O technology .
I have a socket connection to a server and i now need to send some commands following some protocol rules to the server .
i also have to receive the datas from the server.
the commands i send has some strings ,integers and bytes and finally the checksum of the datas.
is it possible for me to send all the datatypes i need to send .
I get a response from the server if i send the commands correctly .
is it possible for me to write all the datatypes to a output stream of the server
if so what are the possibilites!!!!!!!!!!!!!!
please help me out of this solution.
With regards,
Ashok.G
Here is a good start for you: http://java.sun.com/docs/books/tutorial/networking/sockets/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is almost a duplicaet question: https://www.experts-exchange.com/questions/21199688/Java-I-O-problem.html
ps: 'newbie' is one word :-)
8-)