How to handle multiple requests from single client??
843790Oct 16 2008 — edited Oct 17 2008hi all
I wrote a client server program to handle requests from client.I have 2 types of requests, one is to submit comments to the server other is to view comments on the server.I have tested the app and it works fine for either of them(independently) but they don't work both together i.e when i submit a comment and view it,it's stuck and when i close the program it gives SocketException :Connection reset.
on client side:
My request is just a string
on the server side:
I check the string and give the client what it wants.
I want to know if there's any other way to send requests other than passing it as a string.
I can post my code if needed.
thanks,
Sree