Changeset 941 for pjproject/trunk


Ignore:
Timestamp:
Feb 12, 2007 2:59:57 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #98: Error binding transports to specific interface in PJSUA-API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r923 r941  
    834834    } 
    835835 
    836     status = pj_sock_bind_in(sock, bound_addr.s_addr, (pj_uint16_t)port); 
     836    status = pj_sock_bind_in(sock, pj_ntohl(bound_addr.s_addr),  
     837                             (pj_uint16_t)port); 
    837838    if (status != PJ_SUCCESS) { 
    838839        pjsua_perror(THIS_FILE, "bind() error", status); 
Note: See TracChangeset for help on using the changeset viewer.