This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
help needed with socket program
- From: naser al rashedi <alrashed at usc dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 01 Dec 2004 20:08:50 -0800
- Subject: help needed with socket program
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