[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    [sr-dev] event_route for TCP connection close
From:       "Peter Dunkley" <peter.dunkley () crocodile-rcs ! com>
Date:       2013-03-30 14:02:53
Message-ID: 2bce10a57bd901fdbb82144097295eb9.squirrel () crocodile-rcs ! com
[Download RAW message or body]

Hello,

I am trying to add an event_route to be run when a TCP connection is
closed.  I have added a small function to tcp_main.c to call it but I
cannot work-out where to put the call.

I have tried tcpconn_destroy() but that doesn't seem to work.

Ideally, I need to find a single place to call this new function which has
access to the tcp_connection structure for the connection that has closed.
 If not a single place, then as few as possible would be good.

Does anyone know the TCP code well enough to advise me where to put this?

Thanks,

Peter


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic