Am 01.03.2010 05:08, schrieb Justin Wright:

> I am looking for a way to restrict the broadcasting of my UDP packets to one
> of my two network adaptors.

This is what I do in such a case:

  INetTarget: TSockAddrIn;
  LanOut: TWSocket; // UDP
  INetTarget.sin_addr.S_addr := inet_addr(PAnsiChar(''));
  LanOut.SendTo(INetTarget, SizeOf(INetTarget),
                @OutBuffer[0], PacketLen);


elektronik-labor CARLS GmbH & Co. KG

  Stefan Paege

Fon: +49 5973 9497-23
Fax: +49 5973 9497-19


elektronik-labor CARLS GmbH & Co. KG
Sitz Neuenkirchen, Registergericht Steinfurt HRA 3310

Persönlich haftende Gesellschafterin:
elektronik-labor CARLS, Beteiligungsgesellschaft mbH,
Sitz Neuenkirchen, Registergericht Steinfurt HRB 4175

Irmgard Carls, Joachim Schulte

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to