This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]