Re: close() with queued receive data loses transmit data

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

 



   From: Jens David <dg1kjd@afthd.tu-darmstadt.de>
   Date: Thu, 28 Nov 2002 10:11:08 +0100
   
   Now how do I make sure that between my last read() and the close()
   system call no more data arrives? Sounds like a race condition to me.

The client and server must agree on what is to be sent/received.

   Or do I have to make sure on higher protocol layers that this situation
   does not occur?

That's right.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux