realbasic-nug
[Top] [All Lists]

Re: Poll method and how it works

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Poll method and how it works
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Wed, 29 Sep 2004 12:19:03 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <9DD80A20-117A-11D9-B570-00039347B912 at mac dot com> <3C07C7BD-117B-11D9-9597-00039378202C at realsoftware dot com> <D1A80875-1183-11D9-B570-00039347B912 at mac dot com> <4768CC32-1184-11D9-9597-00039378202C at realsoftware dot com> <34A3338C-1224-11D9-A92E-00039347B912 at mac dot com>
Here is some news about this. I tried my app on Windows XP and Windows 2000. The errors are indeed gone, but no data ever gets available, contrary to when I run my app on Mac OS 9 and Mac OS X.

I connect, join a multicast group, send out a datagram with a properly constructed (or so I think, since it works on OS 9 and OS X) SLP message, but on Windows no data is ever available.

Are you joining the same multicast group? Are the ports the same? What's the RouterHops set to?

A point of interest, when I check the broadcast address of the socket, it says 255.255.255.255, whereas on Mac OS 9 and X I get 192.168.1.255. Could that be a symptom?

Naw. On Windows, there's no way to get the true broadcast address aside from some voodoo dance. On Mac and Linux you can get the "true" broadcast address from the system. That being said -- 255.255.255.255 is always a valid broadcast address, so that all works fine. Also.. broadcasting is a totally different technology than multicasting so the two have very little to do with one another.

HTH!

~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>