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 [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
