help needed with socket program

naser al rashedi alrashed@usc.edu
Thu Dec 2 04:08:00 GMT 2004


Hi All,
I have a problem with this simple TCP client/server program. It has to do following tasks:
Client:
1. Initiate a connection.
2. send a filename to the server.
3. send a password to the server.
4.  send a simple message to the server.
5. Return with a success message.
Server:
1. Wait foe the connection from the client.
2. Create a file by the filename by the client.
3. Save the password.
4. Send a success message after creating and writing to the file.

Thank you in adavnce.
A




More information about the Gcc-help mailing list