[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCP sockets timeout...



On Thu, 1 Oct 1998, Ze'ev Maor wrote:

> Offering someone to learn how to program for TCP/IP using Berkely sockets
> under Unix from a FAQ is
> considered a federal crime punishable by death throughout the continental US
> ;-)

Va'iz'ac ha ze'ev - "Keves! Keves!". Now, when someone asks a question
like you did, it seems reasonable that they have a faire knowledge of
socket programming (if not, maybe they should also mention that). for the
question you asked, alex's reference was the exact reference. and the
reason that stevens' book does not give you a solution to this problem, is
because there isn't one, socket-programming wise. (btw, if you've noticed
many of the questions on that FAQ were answered by stevens :)  )

and SIGPIPE is no solution, and SO_KEEPALIVE is neither, as you've seen.
you have to implement it in your own code, as someone here said.

now, what kind of material do you need, if not a good FAQ to answer your
FAQ? tell us, maybe we could give you a more adequate (spell?) reference
for your needs.

guy