Ignore:
Timestamp:
Jul 20, 2007 8:08:30 AM (17 years ago)
Author:
bennylp
Message:

Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/select.c

    r974 r1405  
    113113     
    114114    // Create two UDP sockets. 
    115     rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &udp1); 
     115    rc = pj_sock_socket( pj_AF_INET(), pj_SOCK_DGRAM(), 0, &udp1); 
    116116    if (rc != PJ_SUCCESS) { 
    117117        app_perror("...error: unable to create socket", rc); 
    118118        status=-10; goto on_return; 
    119119    } 
    120     rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &udp2); 
     120    rc = pj_sock_socket( pj_AF_INET(), pj_SOCK_DGRAM(), 0, &udp2); 
    121121    if (udp2 == PJ_INVALID_SOCKET) { 
    122122        app_perror("...error: unable to create socket", rc); 
     
    126126    // Bind one of the UDP socket. 
    127127    pj_bzero(&udp_addr, sizeof(udp_addr)); 
    128     udp_addr.sin_family = PJ_AF_INET; 
     128    udp_addr.sin_family = pj_AF_INET(); 
    129129    udp_addr.sin_port = UDP_PORT; 
    130130    udp_addr.sin_addr = pj_inet_addr(pj_cstr(&s, "127.0.0.1")); 
Note: See TracChangeset for help on using the changeset viewer.