21

I am studying basics of networking and get confused about it. Can any one explain difference between the two in simple words.

2 Answers 2

42
  • A passive open is the creation of a listening socket, to accept incoming connections. It uses socket(), bind(), listen(), followed by an accept() loop.
  • An active open is the creation of a connection to a listening port by a client. It uses socket() and connect().
7

at least in simple terms: passive open is on the SERVICE (server or listener) side active is the CLIENT (source or initiat

2
  • 4
    Do you ever plan to finish this answer?
    – user207421
    Jun 5, 2021 at 10:05
  • @RussellReed I don't see how you are able to read the OP's mind, and in any case your edit is ungrammatical.
    – user207421
    Oct 15, 2021 at 9:01

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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