> Socket := TUDPBlockSocket.create;
> Socket.EnableBroadcast(true);
> Socket.Connect('255.255.255.255', 2222);
> Socket.SendString('some text');
> 
> It works perfekt on machines with only one network interface, but if the
> machine has more than one interface (or multiple IP-Addresses bound on one
> Interface) i can not specify which source address will be used for the
> packet. The OS will make the decision, but this is not always what i want
> ;-)

Try to call Socket.Bind before a Connect call.
--
Lukas Gebauer.

E-mail: [email protected]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP 
Library



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to