Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!nrl-cmf!think!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!nsc!pyramid!infmx!kevinf From: kevinf@infmx.UUCP (Kevin Franden) Newsgroups: comp.unix.wizards Subject: Re: sockets Summary: gethostbyname() for sockets? Keywords: sockets, primer Message-ID: <4421@infmx.UUCP> Date: 5 Jun 90 22:11:55 GMT References: <24943@usc.edu> <102572@convex.convex.com> Reply-To: kevinf@infmx.UUCP (Kevin Franden) Organization: Informix, Menlo Park, Ca. U.S.A. Lines: 20 Being incredibly naieve about sockets, I ask this blindly: Doesn't there exist a function to determin a preexisiting (I've heard some call this a "wellknown") service's socket number? IE: isn't there somthing like gethostbyname() for sockets? Also, does anyone have a description of what "wellknown" services expect/deliver? Namely echo, daytime, and time. I suppose I could experiment but I havn't even got a socket connection running yet... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Kevin Franden UUCP: {pyramid|lll-crg}!infmx!kevinf Informix Software Inc disclaimer("I said what I said and not my employer"); =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There are Lies, Damn lies, Statistics, Benchmarks, and Delivery dates