|
-
Nov 12th, 2001, 02:50 AM
#1
Thread Starter
Lively Member
close a tcp connection?
you know how u can get the tcp connections table... well, how would i close one of those connections?
-
Nov 12th, 2001, 04:16 PM
#2
Hyperactive Member
Does it have a method associated with it called .Close() ?
-
Nov 12th, 2001, 06:07 PM
#3
Thread Starter
Lively Member
Im tryin to close an "external" connection... I didn't make the connection, it was established through another program or whatever. You know how if you type the dos command... netstat -n ... and it shows you all of your tcp connections (tcp table).... well, how would i be able to close one of them?
Im makin an anti-cheat program for a game, and when someone is caught cheating, or isnt running the anticheat program, I want it to terminate their connection to the host of the game...
So I basically want to know how to close an external tcp/winsock connection...
-
Nov 12th, 2001, 06:28 PM
#4
You would go crazy trying this in VB. There are C samples of messing with connection ports in the PsTools kit.
It's a freebie from www.sysinternals.com. has the tool kit and source code, too.
-
Nov 13th, 2001, 01:55 AM
#5
Thread Starter
Lively Member
404 error ... but i found an example at vbip.com that uses the IP Helper API (iphlpapi.dll)... I'm going to be experimenting with this later. Hopefully this works out!
-
Nov 13th, 2001, 08:01 AM
#6
Hyperactive Member
-
Jun 5th, 2006, 02:36 PM
#7
Member
Re: close a tcp connection?
This is a task I need to accomplish as well. I will work on something and let you know
-
Jun 5th, 2006, 05:18 PM
#8
-
Jun 5th, 2006, 07:00 PM
#9
Member
Re: close a tcp connection?
Woopsies, and I just started a thread on it too. Haha. :-/ Forum newb.
-
Jun 6th, 2006, 02:25 PM
#10
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
|