Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site garfield.UUCP Path: utzoo!utcsrgv!garfield!tag From: tag@garfield.UUCP (Terry Greening) Newsgroups: net.unix Subject: sockets in the AF_INET domain on 4.2 Message-ID: <1372@garfield.UUCP> Date: Sun, 1-Jul-84 17:08:36 EDT Article-I.D.: garfield.1372 Posted: Sun Jul 1 17:08:36 1984 Date-Received: Mon, 2-Jul-84 01:22:07 EDT Organization: Memorial U. of Nfld. C.S. Dept., St. John's Lines: 14 Keywords: socket internet tcp-ip [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