Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: k152608@proffa.cc.tut.fi (Koivisto Hannu)
Subject: [Q] Can't assign requested address
Date: 1996/05/23	[thread overview]
Message-ID: <4o1t44$79v@cc.tut.fi> (raw)


If I get host's address with gethostbyname, put it to a *_in address 
structure, put a port and address family to that structure and then bind 
that address to a socket(*DGRAM), bind returns with errno indicating
"Can't assign requested address". This is under Digital UNIX. On SunOS 
everything works fine. However, when I change the addres to INADDR_ANY(or 
whatever its exact spelling was), the program works fine on Digital UNIX 
too.

What could be the cause of this kind of difference between those systems?

Thanks in advance!

--
Hannu "Azure" Koivisto | Saga nanokernel, Prophet sub-system OS etc.
Prime Productions      | developer. Software R&D + music.
---------------------------------------------------------------------
What you see is all you get. -Brian Kernigham



                 reply	other threads:[~1996-05-23  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox