1

Sending file from java socket to c ++ linux Socket

view story
linux-howto

http://stackoverflow.com – I have searched for a neat explanation of how to use sockets to receive and send files in linux, but i can't find a solution that even works a little bit. I have a c++ server on linux, and a client which runs in java. I need it to do the following: Client needs to be able to send text-commands towards the server. Client needs to be able to send/receive files towards the server. Server gets the following command when receiving a file: PUT < saveLocation > < filecontents > Everything gets closed by "\n". I've got a lot of code written already, and am able to send commands back and for (HowTos)