Quetions about receiving messages...

Francis Brosnan Blázquez <[email protected]> 03 Dec 2002 20:28:02 +0100
Newsgroups gmane.network.beep.roadrunner.general
Organization Advanced Software Production Line, S.L.
Message-ID <[email protected]>
Hi.

I have written a little server using the Road Runner TLS profile but I
didn't find the way to process incomming messages. Well, I'm going to
explain that:

When you have done all work to initialize Road Runner in the
server-side, to establish the profiles that you are going to use and
call to rr_tcp_listener_new and rr_wait_until_done functions to start 
accepting connections, how could I tell Road Runner that I want to exec
some functions when it happens something like incomming messages or
incomming connections?.  Or, from another point of view, how can Road
Runner tell my server that something about incomming connection have
happened?

In addition to this, in the client side, everything goes well. I create
a connection, I link it to a channel, then I create a message and finaly
I send the message with rr_channel_send_message and everything is ok. 
But, in the server-side nothing has happened. That is obvious because I
haven't made anything in the server-side for processing incoming
messages.

In order to solve my problems, do I need to create a profile to manage
all this stuff? or perhaps I haven't understood some aspects of Road
Runner ;).

Thanks a lot.

-- 
Francis Brosnan Blázquez <[email protected]>
Advanced Software Production Line, S.L.