< Previous by Date Date Index Next by Date >
  Thread Index  

Re: [reSIProcate-users] resip buildFdSet failed - API not supported


In the future please post the resip list so others can benefit from the answers.  Thanks.

By default windows will not use WSAPoll for socket processing.  This allows us to handle 1000's of TCP connections instead of the previous limit of ~60 or so we had with the Select implementation.  As a result of this you MUST implement the new Event loop processing and abandon the buildFdSet processing loop.

See here for more info:  https://www.resiprocate.org/SipStack_Event_Loop

Also you can inspect the basicClient sample program for good example of how to use this new event loop mechanism.  The changes to you application should be minimal.

If you want to revert back to the old mechanism you can comment out the following define in FdPoll.hxx:

#if defined(HAVE_POLL) || (_WIN32_WINNT >= 0x0600)

//#define RESIP_POLL_IMPL_POLL

#endif


Scott



On Wed, Jun 18, 2014 at 4:59 AM, hhmmdd <hhmmdd@xxxxxxxxx> wrote:
Hi, sir

Today I updated the resiprocate lib to lastest version on SVN and build my old SIP program with it on Windows 7 with VS2008, but when I run my program, I got following error: could you help to confirm where I am wrong?

INFO | 20140618-154710.254 | SIP_TEL | RESIP:DNS | 11232 | AresDns.cxx:358 | DNS initialization: found  2 name servers
INFO | 20140618-154710.259 | SIP_TEL | RESIP:DNS | 11232 | AresDns.cxx:369 |  name server: 202.96.69.38
INFO | 20140618-154710.259 | SIP_TEL | RESIP:DNS | 11232 | AresDns.cxx:369 |  name server: 8.8.8.8
DEBUG | 20140618-154710.259 | SIP_TEL | RESIP | 11232 | Compression.cxx:44 | COMPRESSION SUPPORT NOT COMPILED IN
DEBUG | 20140618-154710.259 | SIP_TEL | RESIP | 11232 | Compression.cxx:47 | Compression configuration object created; algorithm = 0
DEBUG | 20140618-154710.260 | SIP_TEL | RESIP:TRANSPORT | 11232 | TransportSelector.cxx:99 | No compression library available
INFO | 20140618-154710.263 | SIP_TEL | RESIP:DNS | 11232 | DnsUtil.cxx:170 | local hostname does not contain a domain part hhmmdd-desktop
DEBUG | 20140618-154710.266 | SIP_TEL | RESIP:TRANSPORT | 11232 | InternalTransport.cxx:121 | Creating fd=540 V4/UDP
DEBUG | 20140618-154710.266 | SIP_TEL | RESIP:TRANSPORT | 11232 | InternalTransport.cxx:133 | Binding to 0.0.0.0
INFO | 20140618-154710.266 | SIP_TEL | RESIP:TRANSPORT | 11232 | UdpTransport.cxx:54 | Creating UDP transport host= port=5060 ipv4=1
DEBUG | 20140618-154710.266 | SIP_TEL | RESIP:TRANSPORT | 11232 | UdpTransport.cxx:68 | No compression library available: Transport: [ V4 0.0.0.0:5060 UDP flowKey=540 ]
DEBUG | 20140618-154710.266 | SIP_TEL | RESIP:TRANSPORT | 11232 | WinCompat.cxx:190 | WinCompat constructor complete!
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP | 11232 | SipStack.cxx:662 | Adding domain alias: 127.0.0.1:5060
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP | 11232 | SipStack.cxx:662 | Adding domain alias: 127.0.0.1:5060
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP | 11232 | SipStack.cxx:662 | Adding domain alias: 192.168.50.1:5060
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP | 11232 | SipStack.cxx:662 | Adding domain alias: 192.168.11.1:5060
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP | 11232 | SipStack.cxx:662 | Adding domain alias: 10.1.234.108:5060
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP:TRANSPORT | 11232 | TransportSelector.cxx:221 | Adding transport: [ V4 0.0.0.0:5060 UDP transportKey=1 ]
INFO | 20140618-154710.270 | SIP_TEL | RESIP:TRANSPORT | 11232 | TransportSelector.cxx:293 | TransportSelector::addTransport:  added transport for tuple=[ V4 0.0.0.0:5060 UDP transportKey=1 ], key=1
DEBUG | 20140618-154710.270 | SIP_TEL | RESIP:DUM | 11232 | UserProfile.cxx:143 | Adding credential: realm=192.168.10.100 user=
CRIT | 20140618-154710.272 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.272 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.272 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.272 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.272 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.272 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.
CRIT | 20140618-154710.273 | SIP_TEL | RESIP | 10968 | FdPoll.cxx:817 | buildFdSet failed - API not supported for FdPollImplPoll.