0

I have a client socket program and server socket program in C TCP/IP . I execute the server program first on a port say 5000 and then executes client program on the same port and then server respond to it via listen and accept system call. But ,i want to know how the authentication is odne between client and server as i am not using any username or password of remote node.

  • 1
    it is not done. – Jasen Jul 23 '16 at 10:13
1

By default there is no authentication, so long as the client uses the apropriate socket number the server will accept the connection.

look as SSL and SASL for some examples of authentication.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.