SVN latest bind fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the report, Norman, I'll check it out.

cheers,
  -benny


Norman Franke wrote:
> I should mention it's in sock_bsd.c, and the 1600 rev is OK.
> 
> -Norman
> 
> On Dec 3, 2007, at 12:56 PM, Norman Franke wrote:
> 
>> This code:
>>
>> /*
>>  * Bind socket.
>>  */
>> PJ_DEF(pj_status_t) pj_sock_bind( pj_sock_t sock, 
>>   const pj_sockaddr_t *addr,
>>   int len)
>> {
>>     PJ_CHECK_STACK();
>>
>>     PJ_ASSERT_RETURN(addr && len >= (int)sizeof(struct sockaddr_in), 
>> PJ_EINVAL);
>>
>>     if (bind(sock, (struct sockaddr*)addr, len) != 0)
>> return PJ_RETURN_OS_ERROR(pj_get_native_netos_error());
>>     else
>> return PJ_SUCCESS;
>> }
>>
>> Seems to now fail under OS X with:
>>
>> #define ERANGE      34      /* Result too large */
>>
>> -Norman





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux