From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,74b36260968e6e38,start X-Google-Attributes: gidfee84,public From: k152608@proffa.cc.tut.fi (Koivisto Hannu) Subject: [Q] Can't assign requested address Date: 1996/05/23 Message-ID: <4o1t44$79v@cc.tut.fi>#1/1 X-Deja-AN: 156501473 distribution: world organization: Uhmu-Munnukka Ruinupunuma-Kuhvo newsgroups: comp.unix.osf.osf1 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