RE: Do I need to close after shutdown if I don't want to leak descriptors? (making sure TCP retransmits all my data)

2001-05-08 Thread Jonathan Graehl
> > Problem: close() does not perform an orderly shutdown, does > not resend > > unacknowledged data - responds with RST to data/acks sent to me > > I suggest that this is a bug. That is my feeling as well. I am well aware that depending on the transport layer to ensure delivery of the "last

Do I need to close after shutdown if I don't want to leak descriptors? (making sure TCP retransmits all my data)

2001-05-08 Thread Garrett Wollman
< said: > Problem: close() does not perform an orderly shutdown, does not resend > unacknowledged data - responds with RST to data/acks sent to me I suggest that this is a bug. > Incomplete solution: shutdown(SHUT_RDWR), but then what? Will the OS > close the fd for me once the other end ackno