Hi all, I'm running this simple code in Windows Vista:

------------------------------8<----------------------
    root = su_root_create(NULL);
    su_root_release(root);

    if (!root) {
        fprintf(stderr, "Impossible to create a root thread, aborting.");
        exit(1);
    }

    nua = nua_create(root,
                     event_callback,               /* Callback for processing 
events */
                     NULL,                         /* Additional data to pass 
to callback */
                     NUTAG_URL("sip:stef...@*:*"), /* try to bind to all the 
host interfaces */
                     TAG_END());
------------------------------8<----------------------

And I'm getting this trace:

su_socket_port_init(00F23320, 101E62F8) called
su_pthread_port_init(00F23320, 101E62F8) called
su_socket_port_init(00F25428, 101E62F8) called
su_pthread_port_init(00F25428, 101E62F8) called
soa_create("default", 00F25D70, 00F25E80) called
soa_set_params(static::00F26400, ...) called
soa_set_params(static::00F26400, ...) called
nta_agent_create: initialized hash tables
nta_agent_create: initialized transports
nta_agent_create: initialized random identifiers
nta_agent_create: initialized timer
Adding nameserver: 10.xx.x.254
nta_agent_create: initialized resolver
tport_create(): 00F27958
nta: master transport created
tport(00F27958) to */*:*/sip
tport(00F27958): calling tport_listen for udp
tport(00F27958): new primary tport 00F28128
tport(00F27958): bind(pf=2 udp/[192.168.0.1]): No such file or directory
nta: bind(*:*;transport=*): No such file or directory
nua: initializing SIP stack failed
sres_sofia_update(00F27648, -1, -1)
sres_sofia_update(00000000, -1, -1)
tport(00F27958)
su_wsevent_port_deinit(00F25428) called

Can you suggest what the problem may be?

The same code runs fine on Linux and on other Windows Machine (namely
Windows XP, but it may be unrelated to the OS used).

Regards.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to