Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!csn!boulder!uswat!dmyers From: dmyers@uswat.uswest.com (Dave Myers) Newsgroups: comp.unix.ultrix Subject: sockets on DECstation 3100 Message-ID: <14236@uswat.UUCP> Date: 10 Jan 91 00:56:32 GMT Sender: news@uswat.UUCP Organization: US WEST Advanced Technologies, CO, USA Lines: 15 I have never built an appliation using sockets. I read through the ULTRIX Interprocess Communication Primer and tried to get some simple programs to work. However, I found that the structure definition for sockaddr in /usr/include/sys/socket.h is quite different from the one used in the examples. I added an entry into the /etc/services file. I then tried to do a getservbyname call to retrieve it, but that failed. I tried the same call on some other entries, and some, like ftp, succeeded, while others, like finger, failed. I would appreciate any help pointing me in the right direction on this problem, or provide me with a simple working server/client program pair. thanks, Dave Myers dmyers@uswest.com