RE: connecting a socket to itself

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

 



 > But nothing was listen()'ing on the port and nothing accept()'ed the
> connection.
> 
> If you had similar code running on two different machines, each of which
> attempted connections to the other machine, I would expect that they
> would never connect because of the asymetric nature of the TCP SYN,
> SYN/ACK, ACK connection sequence.

You don't have to listen to do a connect. Two programs (on different
machines or not) that are doing cross connects works, too.

                                                        +-DLS

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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