georgepatotk
Well-known member
Dear all,
I am a big doubt which I had thought for few weeks.. Hope that u could help me in solving this problem.
I am writing a server client application where as usual server is to listen to the request from client.
For each connection with the server, the client are able to receive data based on the request command from the client.
For example:
1. Client send "GETNAME"
server response and send to client a list of user name in ListBox format
2. client send "GETAGE George"
server will response and send to the client the age of George in numeric format
3. Client send "GETALLDETAIL"
server will response and send a list of data in datagrid format
In different situation, server will response and send different type of data to client, in what way could I write a program in such manner? Please help me.
And in addition, can I send an ICollection thru the network? If can, how is it going to be done?
I am a big doubt which I had thought for few weeks.. Hope that u could help me in solving this problem.
I am writing a server client application where as usual server is to listen to the request from client.
For each connection with the server, the client are able to receive data based on the request command from the client.
For example:
1. Client send "GETNAME"
server response and send to client a list of user name in ListBox format
2. client send "GETAGE George"
server will response and send to the client the age of George in numeric format
3. Client send "GETALLDETAIL"
server will response and send a list of data in datagrid format
In different situation, server will response and send different type of data to client, in what way could I write a program in such manner? Please help me.
And in addition, can I send an ICollection thru the network? If can, how is it going to be done?