socket()
The socket() system call returns a socket descriptor (small integer) or a -1 on error.
socket() allocates resources needed for a communication endpoint - but it does not deal with endpoint addressing.
Previous slide
Next slide
Back to first slide
View graphic version