[net.unix] sockets in the AF_INET domain on 4.2

tag@garfield.UUCP (Terry Greening) (07/02/84)

[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

larry@utecfc.UUCP (Larry Philps) (07/03/84)

Read the 4.2BSD interprocess communications primer.  It can be
found in /usr/doc/ipc