Re: What shutdown(socket, SHUT_RD) does?

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

 



On Mon, Dec 17, 2001 at 09:58:55PM +0300, kuznet@ms2.inr.ac.ru wrote:
> Hello!
> 
> > Could somebody explain the difference between
> > "shutdown(socket, SHUT_RD)"   and
> 
> This is just nop for TCP.
> 
Shouldn't it bring the Socket to CLOSE_WAIT?
> > 2. How could side B know that side A has called "shutdown(socket, SHUT_RD)"?
> 
> In no way.
> 
By sending a RST if Packets follow?
> Does this answers to all the questions? :-)
> 
> Alexey
-
: 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