K
Ken Adams
Basically all I want to know is that after a client/server is set up using
sockets and say you start by setting the input and output streams to say
PrintWriter(or whatever) can you just go ahead and set the stream to be
another type such as ObjectOuputStream to to send and object? This is of
course assuming both server and client do these steps in the same order.
Basically what I want my client to do is connect to the server, send a
string representing the name of the client then send some Command messages
to the server. Or do you think a better method is to just set up and object
stream and just cast the first object as a string?
Thanks a bunch.
sockets and say you start by setting the input and output streams to say
PrintWriter(or whatever) can you just go ahead and set the stream to be
another type such as ObjectOuputStream to to send and object? This is of
course assuming both server and client do these steps in the same order.
Basically what I want my client to do is connect to the server, send a
string representing the name of the client then send some Command messages
to the server. Or do you think a better method is to just set up and object
stream and just cast the first object as a string?
Thanks a bunch.