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