client/server question (with sockets)
Trying to create a client/server application using sockets with TCP in C.
The client is not supposed to read from disk. It only takes input from user and sends it to the server.
Now, lets say the user types 'pcwd' in the client which is interpreted as print current working directory. The client then sends a request to the server to get that info. Is there a way by reading the stream to find this information? Or any other way the server can find it?
Thanks. (is this question unclear?)
Last edited by bicycle; 11-24-2005 at 10:19 AM.