Questions
/
소켓 프로그래밍에서 bind() 와 listen() 을 사용하는 이유는 무엇인가?
Search
Share
❓
소켓 프로그래밍에서 bind() 와 listen() 을 사용하는 이유는 무엇인가?
상태
해결되지 않은 궁금증
생성일
2023/02/17 16:12
관련태그
1 more property
질문을 구체화할 수 있는 메모들
1.
bind() associates the socket with its local address [that's why server side binds, so that clients can use that address to connect to server.] connect() is used to connect to a remote [server] address, that's why is client side, connect [read as: connect to server] is used.
2.
Q. So, say, if both server and client process run on same machine, can they be used interchangeably? A. No. maybe client and server are on same machine, but still they are different process, right? Both the API servs its own puprpose. They are never interchangeable.
질문을 해소하기 위해 해소해야 하는 질문들
1.
None
질문과 관련한 답을 작성한 글들
1.
None