473,382 Members | 1,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

SetTcpEntry ????

Hi:

Anyone has used SetTcpEntry api for closing connections?.

In VB6 it runs without problems but in VB.NET don't work, even i can put the
same parameters (same value, same structure) in vb6 and vb.net and in vb.net
refuse to close the connection.

Or, there are some function to close specific connection? (for example,
close the connection 192.168.0.1 port 80...)

thanks.

Nov 21 '05 #1
4 3183
On 2005-05-20, jcastro <eng3d> wrote:
Hi:

Anyone has used SetTcpEntry api for closing connections?.

In VB6 it runs without problems but in VB.NET don't work, even i can put the
same parameters (same value, same structure) in vb6 and vb.net and in vb.net
refuse to close the connection.

Or, there are some function to close specific connection? (for example,
close the connection 192.168.0.1 port 80...)

thanks.


I've never used that api function, but my guess is that your declare is
wrong for VB.NET. Datatype sizes have changed, so old VB6 declares
often do not work in VB.NET. Show us the declaration you are using in
VB6 and the one your using in VB.NET - then we might be able to help
you.

--
Tom Shelton [MVP]
Nov 21 '05 #2

Hi Tom Shelton & jcastro.

I am working in Free Anticheat program and need Help in fix SetTcpEntr
problem.

i looking this sample code for list TCP Table in VB.Net :
http://www.freevbcode.com/ShowCode.Asp?ID=5067

But not have "Close connection"

This Sample in VB6 is similar and have "Close Connection"
http://www.vbip.com/iphelper/get_tcp_table.asp

I am lookin new Class in Net Framework 2.0 : Networking Information
This class is based in API : IP Helper

But not get docs or samples for replace SetTcpEntry.

I am lookin option for developer VB6 DLL and use in VB.Net.

You can help me in Best Solution for my problem

--
Vitot
-----------------------------------------------------------------------
Vitoto's Profile: http://www.msusenet.com/member.php?userid=165
View this thread: http://www.msusenet.com/t-187044673

Nov 21 '05 #3

Hi Tom Shelton & jcastro.

I am working in Free Anticheat program and need Help in fix SetTcpEntr
problem.

i looking this sample code for list TCP Table in VB.Net :
http://www.freevbcode.com/ShowCode.Asp?ID=5067

But not have "Close connection"

This Sample in VB6 is similar and have "Close Connection"
http://www.vbip.com/iphelper/get_tcp_table.asp

I am lookin new Class in Net Framework 2.0 : Networking Information
This class is based in API : IP Helper

But not get docs or samples for replace SetTcpEntry.

I am lookin option for developer VB6 DLL and use in VB.Net.

You can help me in Best Solution for my problem

--
Vitot
-----------------------------------------------------------------------
Vitoto's Profile: http://www.msusenet.com/member.php?userid=165
View this thread: http://www.msusenet.com/t-187044673

Nov 21 '05 #4

Hi Tom Shelton & jcastro.

I am working in Free Anticheat program and need Help in fix SetTcpEntr
problem.

i looking this sample code for list TCP Table in VB.Net :
http://www.freevbcode.com/ShowCode.Asp?ID=5067

But not have "Close connection"

This Sample in VB6 is similar and have "Close Connection"
http://www.vbip.com/iphelper/get_tcp_table.asp

I am lookin new Class in Net Framework 2.0 : Networking Information
This class is based in API : IP Helper

But not get docs or samples for replace SetTcpEntry.

I am lookin option for developer VB6 DLL and use in VB.Net.

You can help me in Best Solution for my problem

--
Vitot
-----------------------------------------------------------------------
Vitoto's Profile: http://www.msusenet.com/member.php?userid=165
View this thread: http://www.msusenet.com/t-187044673

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Jm | last post by:
Hi All Is it possible to determine who is logged onto a machine from inside a service using code in vb.net ? I have found some code that seems to work under vb6, but doesnt under .NET ? Any help...
8
by: Jm | last post by:
Hi All Ive asked this question in ms.public.dotnet.framework.interop but havent got a reply so im hoping someone may be able to help here. I am a bit of a newbie to vbnet and am having trouble...
0
by: Jm | last post by:
Hi All I recently got some help with code conversion that i used in vb6 to block a specific tcp port. The code runs under a timer and is run on a very low tick count (Meaning it happens...
1
by: hateeee | last post by:
Well.. i am really not understing almost nothing about apis in.net first i'd like to use GetTcpTable to get all active connections but it didn't work by the way i used to code. I found a sample...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.