I am studying basics of networking and get confused about it. Can any one explain difference between the two in simple words.
2 Answers
- A passive open is the creation of a listening socket, to accept incoming connections. It uses
socket(), bind(), listen(),
followed by anaccept()
loop. - An active open is the creation of a connection to a listening port by a client. It uses
socket()
andconnect()
.
at least in simple terms: passive open is on the SERVICE (server or listener) side active is the CLIENT (source or initiat
-
4
-
@RussellReed I don't see how you are able to read the OP's mind, and in any case your edit is ungrammatical. Oct 15, 2021 at 9:01