Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* [Q] Can't assign requested address
@ 1996-05-23  4:00 Koivisto Hannu
  0 siblings, 0 replies; only message in thread
From: Koivisto Hannu @ 1996-05-23  4:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-05-23  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-23  4:00 [Q] Can't assign requested address Koivisto Hannu

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