Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!uwvax!oddjob!tank!uxc!uxc.cso.uiuc.edu!a.cs.uiuc.edu!m.cs.uiuc.edu!totty From: totty@m.cs.uiuc.edu Newsgroups: comp.unix.questions Subject: Socket Questions Message-ID: <9000010@m.cs.uiuc.edu> Date: 7 Oct 88 01:38:00 GMT Lines: 27 Nf-ID: #N:m.cs.uiuc.edu:9000010:000:1007 Nf-From: m.cs.uiuc.edu!totty Oct 6 20:38:00 1988 I have some questions about sockets that maybe I can get answers to... 1) Is there a book that describes sockets? The Sun man pages I have are not enough. 2) Using a connected stream will send block until it is able to send all of its data? I have a program where send will return but only having sent some of the data. The length field returns the # of bytes sent, but I thought send returned only when all data had been sent... 3) When I close a socket, the select() call on the other end thinks it is ready to be read. Is this what is supposed to happen? How does the other end know when the remote socket closed the connection? Is there an end-of-file status? Thanks, --- Bri / Brian Totty o o /__ __ o URH 655 Sherman / 909 S. Fifth o / / / / Champaign, IL 61820 \_/ "We have corn in /__/ / / totty@a.cs.uiuc.edu Massachusetts too!"