Subject: Re: server bind failure 48: Address already in use
To: None <current-users@netbsd.org>
From: Caffeinate The World <mochaexpress@yahoo.com>
List: current-users
Date: 04/05/2003 01:18:56
--- Caffeinate The World <mochaexpress@yahoo.com> wrote:
This is the code that's causing me problems:

        /* Bind the Internet address to the Internet socket */
        if (bind(server.socket,(struct
sockaddr*)&mInternetSocket,sizeof(mInternetSocket))<0 ) {
          close(server.socket);                                        
/* defensive programming  */
          sprintf(txt,"Chat server bind failure %d: %s\n",errno,
sys_errlist[errno]);
          util_printf(txt);
          return(-2);
        }


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com