Re: Broadcasts On OS X - Oops!

2007-01-11 Thread Pierre Sahores

Hi,

As a workaround witch works for me with any Rev issues i still use  
(2.51 to 2.74) under the Windows, Mac OS X, Ubuntu or Solaris  
platforms :


Build your stack under the Metacard (2.32 to 2.5 issues tested OK)  
first. Reopen and save this stack  as "stack.rev" under the Rev  
environment and it will still run OK your TCP/IP sockets tasks, even  
if you are going head in continue to develop this stack under the Rev  
platform.


Best Regards,

Le 11 janv. 07 à 19:12, Mark Wieder a écrit :


Alex-

Thursday, January 11, 2007, 9:56:01 AM, you wrote:

It is certainly possible to send a broadcast packet from OSX (e.g.  
you

can do "ping 192.168.1.255" and it works correctly), but I don't know
whether or not it is possible to do it from Rev. I'll play with it  
some
more later tonight when I can have more than one machine on my  
network 




What Alex said. But if I'm remembering correctly, you can send
broadcast packets from rev, but a bug in rev prevents them from being
accepted and responded to. So the whole exercise is probably moot.

Or in this case, mute.

--
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



--
Pierre Sahores
www.sahores-conseil.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Broadcasts On OS X - Oops!

2007-01-11 Thread Mark Wieder
Alex-

Thursday, January 11, 2007, 9:56:01 AM, you wrote:

> It is certainly possible to send a broadcast packet from OSX (e.g. you
> can do "ping 192.168.1.255" and it works correctly), but I don't know
> whether or not it is possible to do it from Rev. I'll play with it some
> more later tonight when I can have more than one machine on my network 
>>

What Alex said. But if I'm remembering correctly, you can send
broadcast packets from rev, but a bug in rev prevents them from being
accepted and responded to. So the whole exercise is probably moot.

Or in this case, mute.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Broadcasts On OS X - Oops!

2007-01-11 Thread Alex Tweedly

Brent Anderson wrote:

Hello.

I think that the point was to use broadcasts not to use another 
address. I've found the same problem on OS X where when you write 
packets to a .255 address they don't get routed across the network, as 
if it were a regular address. In looking back on other threads on this 
subject, it's been noted that this is a bug in Mac OS X, so it may not 
be possible. Am I mistaken in this, or is that just the sad truth of 
it all?
H - what exactly do you mean by "they don't get routed across the 
network" ?


A subnet broadcast packet (i.e. to a .255 address, for most of us), 
*should* be sent on the local network segment (i.e. delivered to each 
device connected on the same subnet).


It should *not* be forwarded by any router attached to the network 
segment (ignore the special case where you send a subnet broadcast to a 
subnet other than the one you are connected to, and the router is 
suitably configured :-)


It is certainly possible to send a broadcast packet from OSX (e.g. you 
can do "ping 192.168.1.255" and it works correctly), but I don't know 
whether or not it is possible to do it from Rev. I'll play with it some 
more later tonight when I can have more than one machine on my network 


Although this is more of a hack than anything, you could use a loop 
from 1 to 254 and use the current hosts IP address to emulate the 
effect of a broadcast.
Indeed a hack - beware of flooding the network with back-to-back packets 
.


--

Alex Tweedly  mailto:[EMAIL PROTECTED]  www.tweedly.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Broadcasts On OS X - Oops!

2007-01-11 Thread Brent Anderson

Hello.

I think that the point was to use broadcasts not to use another  
address. I've found the same problem on OS X where when you write  
packets to a .255 address they don't get routed across the network,  
as if it were a regular address. In looking back on other threads on  
this subject, it's been noted that this is a bug in Mac OS X, so it  
may not be possible. Am I mistaken in this, or is that just the sad  
truth of it all?


Although this is more of a hack than anything, you could use a loop  
from 1 to 254 and use the current hosts IP address to emulate the  
effect of a broadcast.


Thanks,
Brent Anderson
CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Broadcasts On OS X - Oops!

2007-01-11 Thread Luis

That should have been 'doesn't end in .255' not .222

Cheers,

Luis.


Luis wrote:

Hiya,

.255 is usually used as the broadcast IP for any routers/routing in the 
network.


The broadcast address is for _network broadcasts_. Change the IP address 
you're sending to so that it doesn't end in .222 or .0


Cheers,

Luis.


Bridger Maxwell wrote:

Hey,
 Today I was trying to get broadcasts working for a simple (very simple)
chat program for use on a LAN that sends using broadcasts.  I was able to
get the Windows version working fine, it sent to the IP 192.168.0.255 and
all the other clients received it (PC and Mac), but I can't seem to 
send a
broadcast on my OS X machine.  I am sending it to the same address, 
but no
one receives it.  I ran the shell command ifconfig to divine the 
broadcast

address (which was the same as the one the PC was using), but it didn't
work.  Is there a different address I should be sending it to?

TTFN
  Bridger
  CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Broadcasts On OS X

2007-01-11 Thread Luis

Hiya,

.255 is usually used as the broadcast IP for any routers/routing in the 
network.


The broadcast address is for _network broadcasts_. Change the IP address 
you're sending to so that it doesn't end in .222 or .0


Cheers,

Luis.


Bridger Maxwell wrote:

Hey,
 Today I was trying to get broadcasts working for a simple (very simple)
chat program for use on a LAN that sends using broadcasts.  I was able to
get the Windows version working fine, it sent to the IP 192.168.0.255 and
all the other clients received it (PC and Mac), but I can't seem to send a
broadcast on my OS X machine.  I am sending it to the same address, but no
one receives it.  I ran the shell command ifconfig to divine the broadcast
address (which was the same as the one the PC was using), but it didn't
work.  Is there a different address I should be sending it to?

TTFN
  Bridger
  CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Broadcasts On OS X

2007-01-10 Thread Bridger Maxwell

Hey,
 Today I was trying to get broadcasts working for a simple (very simple)
chat program for use on a LAN that sends using broadcasts.  I was able to
get the Windows version working fine, it sent to the IP 192.168.0.255 and
all the other clients received it (PC and Mac), but I can't seem to send a
broadcast on my OS X machine.  I am sending it to the same address, but no
one receives it.  I ran the shell command ifconfig to divine the broadcast
address (which was the same as the one the PC was using), but it didn't
work.  Is there a different address I should be sending it to?

TTFN
  Bridger
  CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution