[Vortex] vortex_connection_set_receive_handler

Francis Brosnan Blazquez francis at aspl.es
Tue Jan 6 14:19:08 CET 2009


Hi Robert,

> You speak from a connection reset. What's that and how do I use it?
> 
> What exactly is a "tunning profile"?

A BEEP connection reset and a tunning profile are, at the end, the same
thing. 

After you have created a socket using your proxy service, you must
create an empty state connection with it by using
vortex_connection_new_empty, setting the peer role to
VortexRoleInitiator.

After that comes the connection reset. Use vortex_greetings_send and
vortex_greetings_client_process to enable the BEEP handshake in your
connection.

Finally, register and activate your connection by using
vortex_connection_parse_greetings_and_enable. After these steps, your
BEEP connection should function as usual.

See all details on how these three functions are used at the
vortex_tls.c, line 927 (inside __vortex_tls_start_negotiation).

Cheers!

> Best regards. 



More information about the Vortex mailing list