How to make a Client Server program

Status
Not open for further replies.

tariq2012

Newbie level 1
Joined
Dec 22, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,290
How can i make a Client Server program with following requirements……
1.The server will create a TCP (sockstream) socket.
2. The server will listen on the port 9999.
3. Your program will authenticate client on server side
4. Client will send a “User name” to the server
5. Server will check that “User name” in the its file
6. If the “user name” is correct, the server will send a message of correct user name to client.
7. If the “user name” is not correct, the server will send a message of wrong user name to client.
8. If the client received a correct user name message from server, then the client will send its password to server, if the password is correct, server will send a welcome message. If password is incorrect server will send a message containing wrong password.

Please help me out thanks in advance
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…