[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5514.0. "bind() to specific IP interface" by NNTPD::"[email protected]" (Izak Karmona) Thu May 15 1997 05:49

Hi,

My customer is using UCX V4.1 under OpenVMS v7.1/Alpha and has two IP
interfaces defined. He wrote a program using socket API. He calls bind()
with sockaddr structure containing one of its IP interface addresses as
the value for sin_addr field.

Customer claims that no mater what the value is in sin_addr (including
wrong IP address) UCX behaves as if INADDR_ANY was entered.

Any help will be appreciated.

Izak Karmona

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
5514.1UCXAXP::GEMIGNANIThu May 15 1997 16:483
    
    What information leads the customer to believe that it is binding to
    INADDR_ANY?
5514.2CorrectionTAVEIS::IZAKComputers,all they think of is HEXMon May 19 1997 09:4221
> My customer is using UCX V4.1 under OpenVMS v7.1/Alpha and has two IP
> interfaces defined. He wrote a program using socket API. He calls bind()
> with sockaddr structure containing one of its IP interface addresses as
> the value for sin_addr field.
>
> Customer claims that no mater what the value is in sin_addr (including
> wrong IP address) UCX behaves as if INADDR_ANY was entered.

Sorry, there was a misunderstanding on my part. The second paragraph above
should have been as follows: 

	"Customer claims that no mater what the value is in sin_addr 
         (including wrong IP address) UCX *does* bind, and doesn't 
	 complain about the address not being correct."

According the customer, Multinet does complain and does not accept a wrong
ip address there.

Again, sorry for the misinformation and looking forward for a comment.

Izak Karmona