Re: [twsocket] broadcast to one of two adapters only

2010-03-01 Thread Stefan Paege
Am 01.03.2010 14:31, schrieb Justin Wright:
> Thanks Stefan,
> 
> I will give it a go.  
> 
> I think I recognised your name from the Lake of Soft forum.  Did you work
> out that mixing problem?

Yep, that's me ;-)
Regarding the problem: Alexander posted a solution (have not tried it so
far). I think I will mix manually. In the end it should boil down to
filling a common buffer from two source buffers using a scheme similar
to a zipper.
To stay on topic: I'm using an ICS WSocket component to broadcast
(multicast) the mixed audio data over the network.

Best regards

-- 


elektronik-labor CARLS GmbH & Co. KG

  Stefan Paege

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



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

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

Geschäftsführer:
Irmgard Carls, Joachim Schulte

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] broadcast to one of two adapters only

2010-03-01 Thread Justin Wright
Thanks Stefan,

I will give it a go.  

I think I recognised your name from the Lake of Soft forum.  Did you work
out that mixing problem?

Regards

Justin.



-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Stefan Paege
Sent: Monday, 1 March 2010 11:37 PM
To: twsocket@elists.org
Subject: Re: [twsocket] broadcast to one of two adapters only

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('192.168.1.255'));
  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
Kommanditgesellschaft:
Sitz Neuenkirchen, Registergericht Steinfurt HRA 3310

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

Geschäftsführer:
Irmgard Carls, Joachim Schulte

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] broadcast to one of two adapters only

2010-03-01 Thread Stefan Paege
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('192.168.1.255'));
  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
Kommanditgesellschaft:
Sitz Neuenkirchen, Registergericht Steinfurt HRA 3310

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

Geschäftsführer:
Irmgard Carls, Joachim Schulte

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] broadcast to one of two adapters only

2010-03-01 Thread Justin Wright
By broadcasting, I mean a udp packet sent to 255.255.255.255.

I am using windows XP and I don't think there is any outbound filtering
built in.  And there is no ISP in this setup.  Just a server with two
network adapters each on separate ip ranges.  

So far our options include adding another computer with a http proxy on it.


-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Darin McGee
Sent: Monday, 1 March 2010 10:39 PM
To: ICS support mailing
Subject: Re: [twsocket] broadcast to one of two adapters only

Depends on what you mean by broadcasting UDP.  Most blocking can be done
via the OS networking configuration/routing and/or via the router to
ISP.

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
On Behalf Of Justin Wright
Sent: Sunday, February 28, 2010 11:08 PM
To: twsocket@elists.org
Subject: [twsocket] broadcast to one of two adapters only

Hi All,

 

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

 

One of the adaptors is connected to a different network (different DHCP
server).  This is where I get some HTTP data from.  I don't want the UDP
packets to be sent throughout the network of my data provider and all of
his
other clients.  All these connections are local lan, not internet.

 

Does anyone have any suggestions on how to limit where the broadcast
packets
go?

 

 

regards

 

Justin

 

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] broadcast to one of two adapters only

2010-03-01 Thread Darin McGee
Depends on what you mean by broadcasting UDP.  Most blocking can be done
via the OS networking configuration/routing and/or via the router to
ISP.

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
On Behalf Of Justin Wright
Sent: Sunday, February 28, 2010 11:08 PM
To: twsocket@elists.org
Subject: [twsocket] broadcast to one of two adapters only

Hi All,

 

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

 

One of the adaptors is connected to a different network (different DHCP
server).  This is where I get some HTTP data from.  I don't want the UDP
packets to be sent throughout the network of my data provider and all of
his
other clients.  All these connections are local lan, not internet.

 

Does anyone have any suggestions on how to limit where the broadcast
packets
go?

 

 

regards

 

Justin

 

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] broadcast to one of two adapters only

2010-02-28 Thread Justin Wright
Hi All,

 

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

 

One of the adaptors is connected to a different network (different DHCP
server).  This is where I get some HTTP data from.  I don't want the UDP
packets to be sent throughout the network of my data provider and all of his
other clients.  All these connections are local lan, not internet.

 

Does anyone have any suggestions on how to limit where the broadcast packets
go?

 

 

regards

 

Justin

 

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be