Login  
Search All Forums
Dart Home | PowerTCP Server for ActiveX | Custom Development Reply | PowerTCP Server for ActiveX Topics | Forums   
AuthorForum: PowerTCP Server for ActiveX
Topic: traffic repeater, is it possible?
runtime

From: Guatemala, USA
Posts: 20
Member Since: 09/17/03
posted January 12, 2006 6:09 PM

Hello All,

I would like to build a TCP traffic repeater, let say I am receveing TCP connections at IP:xxx.xxx.xxx.xxx port 2000.
I want to re-send this traffic to the same IP (localhost) but to another port = 2005 and at the same time re-send this traffic to another IP and port = yyy.yyy.yyy.yyy:2010

Is this possible?
Thank you in advance
Peter
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 12, 2006 6:42 PM

Yes, that would be possible. To do it you would create new TCP connections in the event when the client connects. Assign the new TCP connections to class, then assign the class to the Tag property of the Child. Now when the next events fire you will have access to the new connections.

Now on to the answer to the question you are going to ask next:

No, we do not have sample that does what you want :>)

If you have trouble with the design and implementation contact us at support@dart.com to find out about advanced options.
runtime

From: Guatemala, USA
Posts: 20
Member Since: 09/17/03
posted January 12, 2006 7:09 PM

Hi Tony, thank you for the info. Let me explain what I would like to do:

I developed a TCP server for a client, this server listens on xxx.xxx.xxx.xxx:2000 at his office. Now, for debbuging purposes I would like to receive (listen) the same traffic on my pc (at home).

Any ideas
Thank you in advance
Peter
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 12, 2006 7:32 PM

Are you asking me whether you can do that? If so, the answer is yes.

If you are asking me for sample code, then the answer is no, I don't.

For something this complex, I would suggest you contact us off of the forum (support@dart.com)
Reply | PowerTCP Server for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX