cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Bind & Connect
Bind & Connect
Apr 25, 2012 at 3:14pm UTC
Bouya
(19)
hi
Can any one explain to me what's really the role of bind and connect after creating a socket ?
Apr 25, 2012 at 6:33pm UTC
closed account (
S6k9GNh0
)
In the context of the BSD Sockets API, bind preserves a port and attaches to it while listening (generally used by a server) and connect... connects (generally used by the client only).
Last edited on
Apr 25, 2012 at 6:34pm UTC
Topic archived. No new replies allowed.