Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: use of socket for multiple connections
patcherke

From: antwerp, Belgium
Posts: 8
Member Since: 06/26/03
posted June 26, 2003 4:47 AM

I am about to develop a new application (in .NET)

Now there is already an old program (VB6) which sends data to a specified IP-adress X on a specified port Y.

in the new program I have to send data to the same adress ( IP X and port Y)

my questions :
1. is it possible to integrate the winsock component in the .NET environment?
2. Is it a problem to run the two programs together on the same PC/server? i.e. is it a problem to run two instances of the same socket?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 26, 2003 10:30 AM

Hi,
Yes, you can use the Winsock Tool controls in .Net. An interop wrapper will be automatically generated when the controls are placed on a form.

It is not a problem to send data to the same remote port. Each of the programs will bind to a different local port for the connection.

Hope it helps,
-ken
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX