Difference between revisions of "Faq"

From reSIProcate
Jump to navigation Jump to search
(first attempt at a FAQ)
Line 13: Line 13:
 
=== buildFdSet, select, process ===
 
=== buildFdSet, select, process ===
 
Please rephrase as a question. Thanks.
 
Please rephrase as a question. Thanks.
 +
 +
=== I told the stack to send a provisional response to a REGISTER and nothing happened.  What happened? ===
 +
The stack not only thinks that's a bad idea, it corrects your behavior by dropping the response.

Revision as of 14:30, 16 June 2005

Nothing is happening, what's wrong?

You must add transports.

Why does addTransport throw?

Sorry, the answer is not in my notes.

Can I remove transports?

No.

Why does dynamic_cast<MyContents*>(foo) return 0?

You have to include the contents header file in the file that has the main library (for example, #include “SdpContents.hxx”) otherwise dynamic casts will fail. There will be a body, but it won't have contents.

buildFdSet, select, process

Please rephrase as a question. Thanks.

I told the stack to send a provisional response to a REGISTER and nothing happened. What happened?

The stack not only thinks that's a bad idea, it corrects your behavior by dropping the response.