title: Writing a server in C# .NET to handle custom requests/response
body: <p>I need to write a 'server' in c# (.Net 2.0) which would process requests in a specific format and produce a corresponding response in a pre-defined format.</p>
  
  <p>request: (userid);(<em>userpwd</em>);+ <br>
  response: (user_purchase1);(user_purchase2);(user_purchase3);+</p>
  
  <p>As, I understand this correctly, the server is a standalone module in itself. It should be able to serve to both a website application and a windows application.</p>
  
  <p>I understand the client/server model receives a httprequest and yields an output accordingly, but how can I handle a request in this custom format ?</p>
  
  <p>I'd appreciate any help with this.</p>
  
  <p>Thanks</p>