newbie1983
Programmer
I am currently writing a client/server application using sockets to transfer files. I would like a series of messages to be sent before transfering the file. However when i do this, the messages are written to the socket output stream (when you invoke ClientSocket.getOutputStream()); ) and are written to the file to be transferred. Is there any way to "clear" the Socket stream? i tried assigning "null" but it seems to fall over.
Any ideas much appreciated!
Regards
newbie1983
Any ideas much appreciated!
Regards
newbie1983