How do I accomplish udp broadcasting on a multi-homedmachine?
book
Article ID: KB0084839
calendar_today
Updated On:
Products
Versions
TIBCO SmartSockets
-
Not Applicable
-
Description
Resolution: RTserver does not support creating a broadcast socket (client or server) on any interface other than the default which is what is returned by gethostname. Like the behavior for a tcp RTserver socket, a udp RTserver socket will listen on all interfaces once the socket is created since it uses INADDR_ANY.
However, unlike a tcp RTclient socket, you cannot broadcast on any address other than the default because the node name must match the gethostname. So, if you specify server_names as udp_broadcast it will only be sent over the default interface and you cannot "auto-discover" RTservers over a non-default network.
SmartSockets 6.2.2 fixed this problem.
Issue/Introduction
How do I accomplish udp broadcasting on a multi-homedmachine?