the bind primitive in tcp socket is used to
Answers
Answered by
9
Answer:
bind() defines the local port and interface address for the connection. connect() does an implicit bind("0.0. 0.0", 0) if one has not been done previously (with zero being taken as "any"). For outgoing connections, this is generally acceptable and preferred.
Similar questions