SetTcpEntry ????

  • Thread starter Thread starter jcastro
  • Start date Start date
J

jcastro

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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top