Dart Home | PowerTCP Winsock for ActiveX | Custom Development | Reply | PowerTCP Winsock for ActiveX Topics | Forums |
Author | Forum: PowerTCP Winsock for ActiveX Topic: UDP remote end point address |
geogomez george.gomez@safetran.com From: rancho cucamonga, CA USA Posts: 4 Member Since: 07/20/06 |
posted August 1, 2007 9:55 PM I am using the ActiveX UDP object library to receive data from various remote apps. Every time it receives a message it needs to send data back to the sending app. I need to know how to get the IP address from the received UDP packet so I know where to send the reply. The doc indicates that when using the UDP protocol it removes the IP and UDP headers. I tried using the raw protocol but the port never opens, so it never receives any data. Multicasting is not an option. BTW - I've used the .NET PowerTCP UDP control and the remote end point IP address is available in the event's parameter. Is there something similar available in the ActiveX version? Thanks |
K M Drake From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted August 2, 2007 8:48 AM Hi, The Udp.Receive method has RemoteAddress and RemotePort optional parameters. Hope it helps, -ken ------ |
geogomez george.gomez@safetran.com From: rancho cucamonga, CA USA Posts: 4 Member Since: 07/20/06 |
posted August 2, 2007 12:33 PM thanks for the reply, somehow I totally missed it. George |
Reply | PowerTCP Winsock for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |