Sending strings and File from Android Client to C# server

view story

http://stackoverflow.com – I am trying to send files with a bunch of strings from Android client to C# server. The strings, among other things, will also contain details with regards to the file being sent eg: File Size, File Name, etc. My C# Server Code while (true) { Socket socket = listener.AcceptSocket(); setStatus(socket.RemoteEndPoint + " Connected"); try { // Open the stream NetworkStream stream = new NetworkStream(socket); System.IO.StreamReader sr = new StreamReader(stream); (HowTos)