sockets in the AF_INET domain on 4.2

Terry Greening tag at garfield.UUCP
Mon Jul 2 07:08:36 AEST 1984


[space eater] (gobble gobble munch much)

Could somebody please tell me how to use sockets in the internet
domain(AF_INET) ?
I can create a socket in the internet domain (both client and server).
After calling socket(), bind(), listen(), I do a getsockname() which
gives me a port number (usually > 30000).  I would like to add that I do
not fill in any of the members of the structure that I pass (sockaddr_in)
except that the family is set to AF_INET.


-- 
Terry Greening
UUCP:	{allegra, ihnp4, utcsrgv}!garfield!tag



More information about the Comp.unix mailing list