How do you send a broadcast to a particular port AND how does the server
respond to a broadcast ??
Any suggestions ??
PS At this stage do NOT need to traverse a router - LAN traffic only
I have been trying using a TClientSocket and a TServerSocket but can change
if need be.
Thanks in advance,
Brian
The idea is simple: use the UDP protocol and select a server port and start
listening on that port. On the client, use the IP address "255.255.255.255"
(that's the global broadcast address) with the same port as the server and
send a discover message to that socket. When the server receives it, it
sould send a response with it's IP address and you can then start a normal
IP connection.
Good luck,
Stephane
Brian Cahill <bca...@SoftHome.net> wrote in message
news:7l9oog$o3...@forums.borland.com...
However, if I use the actual IP address for the server, I get the expected
response back.
Can I use the Winshoes UDPClient component to broadcast ??
Having tried the Winshoes components, I think I would like to stay with
them - unless someone can convince me that I should tread another path.
Brian
Stephane Grobety <gro...@fulgan.com> wrote in message
news:7la1p2$op...@forums.borland.com...