[Ace-users] after accept_svc_handler returns -1, how to clean the connection completely?

hongxing777 at gmail.com hongxing777 at gmail.com
Tue Oct 16 09:53:32 CDT 2007


ace version 5.6.1
host windows xp sp2 /suse linux enterprise server 10
compiler vs studio 2003/gcc 3.3.3

In my app, I returns -1 from accept_svc_handler to reject a tcp
connection.
I use telnet to test this action. After the connection is refused, I
find telnet is not
exited totally (it is still waiting to exit). So I guess to reject a
tcp connection,
before return -1 from accept_svc_handler, there must be something to
do.

but what?

thanks!



More information about the Ace-users mailing list