I think I found a way to do it via Indy. There is a UDP server component that has an OnUDPRead event.
The event passes a SocketHandle type that has a method called SentTo which wants an IP, Port and some bytes.
Hopefully | can use that but I haven't been able to test it yet. Will let you know.
Thanks
Main Topics
Browse All Topics





by: harris_cPosted on 2007-08-22 at 06:12:48ID: 19745746
Create a listener for that particular port. If it receives data, send it to the appropriate address and port.
ode.com/vb /scripts/S howCode.as p? txtCodeI d=2253&lng WId=10
This is a sample chat program that demonstrates the use of winsock.
http://www.planet-source-c
There is also a bare basic example on the msdn site but I forgot the link.
hec",)