Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!phoenix.Princeton.EDU!subbarao From: subbarao@phoenix.Princeton.EDU (Kartik Subbarao) Newsgroups: comp.unix.questions Subject: Re: sockets Message-ID: Date: 23 May 91 22:45:36 GMT References: <556@jahangir.UUCP> Sender: news@idunno.Princeton.EDU Reply-To: subbarao@phoenix.Princeton.EDU (Kartik Subbarao) Organization: American Chemical Society Lines: 28 In article <556@jahangir.UUCP> wayne@jahangir.UUCP (wayne) writes: > > > I am just starting to expirement with sockets. I have a small program >below which I cannot get to work for some reason. I took it almost verbatum >from W. Richard Stevens book "UNIX Network Programming" > > What happens is the client and server fail to connect for some reason. >Can anyone out there tell me what I am doing wrong? > > My hardware is a MIPS Magnum 3000. Sure. The problem is line 79 of /u/wayne/foo/bar/socket/test.c. Put a space before the comment at the end of that line, and your program will work :-) Seriously, why don't you post what your code to the net so people can see exactly WHAT it is. We're not mindreaders, ya know. -Kartik -- internet% ypwhich subbarao@phoenix.Princeton.EDU -| Internet kartik@silvertone.Princeton.EDU (NeXT mail) SUBBARAO@PUCC.BITNET - Bitnet