|
-
Jun 18th, 2003, 01:08 PM
#1
Thread Starter
Lively Member
forcefully closing a connection to a specific host
first and foremost, I'm not looking for a way to close an internet connection. I need to get a list of all of the open connections (similar to typing 'netstat -a' on the command line), and then I need to close a specific one. Is there an API or a component that will do this?
Thanks,
Chris
-
Jun 18th, 2003, 01:13 PM
#2
Hyperactive Member
yes..... iphlpapi.dll is what you wanna use lets you view all open connections and close them. (i think its what netstat uses as well)
check out www.vbip.com for examples. (look for the GetTcpTable example)
-
Jun 18th, 2003, 02:06 PM
#3
Thread Starter
Lively Member
-
Jun 18th, 2003, 02:24 PM
#4
Thread Starter
Lively Member
after disassembling that dll, I didn't find any exports related to closing a connection. are you sure it lets you close them too? can you find any specific examples?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|