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