ary 05, 2003 5:06 PM
> To: [EMAIL PROTECTED]
> Subject: Close all open sockets
>
>
>
> Hello
> How can I gracefully close all TCP connections from
> external program (i.e. those sockets were opened not
> by this program) on shutdown ?
>
> I'm looking for
If what you want to do is indeed to forge packets on the wire that will
close the connections, you need to get the serial numbers (as you
already know). A relatively easy way of doing this is to send an ACK
packet with no data and random serial numbers to one of the sides. That
side will respon
Hi Michael,
Well, getting the list of open sockets and their respectable processes is ONE thing,
but closing those file descriptors that 'reside' (to remind you) in different
processes'
address space is an ENTIRELY DIFFERENT thing altogether.
That's basically what you need to do. However i'm unsu
Hello
How can I gracefully close all TCP connections from
external program (i.e. those sockets were opened not
by this program) on shutdown ?
I'm looking for a way to send RST or FIN to both
sides of all currently established TCP connections
of computer that I'm run on it..
Let's say I can get a