Path: utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!CS.UCL.AC.UK!zwang From: zwang@CS.UCL.AC.UK (Zheng Wang, Ext: 3701) Newsgroups: comp.protocols.tcp-ip Subject: Re: Questions about 4.3BSD bind() on a multiple ethernet system. Message-ID: <8901122035.AA15711@ucbvax.Berkeley.EDU> Date: 12 Jan 89 14:56:32 GMT References: <352@b11.INGR.COM> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 16 >If I bind a socket with the internet address of INADDR_ANY, which >internet address is returned? Which internet address is placed in the >source address part of the IP header/trailer sent on that socket? >kernel determine which one I get? Unfortunately, the internet address seems to be chosen at random. Both addresses are possible. >Does the kernel keep separate UDP and TCP >port tables for each internet address? No, the port can receive messages from both addresses. Zheng