From: Harsha V Madhyastha (harsha_at_cs.washington.edu)
Date: Mon Jan 12 2004 - 19:36:15 PST
Ken and Laura,
I have to say that the reason for your code not working is entirely
because of some bug in your code and not due to some bug in fishnet. The
sample solution I've written works just fine in the emulator mode. The
fact that my neighbour discovery works obviously implies that sending
packets to the broadcast address works. In fact, if you start up a trawler
with three.topo and then start 3 emulated fishnet nodes (with node.rb as
in the distribution on the website), and then type in "255: Hello!" in one
of the nodes, you can clearly see that the packet reaches both the other
nodes and you even receive ping replies from them.
So, I'm sorry but I guess you'll just have to try and debug your code.
Atleast you've got it working in the simulator mode :-) Hope that helps!
Harsha
On Mon, 12 Jan 2004, Janet Davis wrote:
> Hi Ken and Laura,
>
> I am genuinely sorry about the bugs. Unfortunately, it's too late for me
> to do much other than apologize and try to get them fixed as quickly as
> possible. Please keep reporting them as you find them.
>
> When you start up the Fishnet nodes in emulation, please try this: Instead
> of using "localhost" for the host name, use the actual name or IP address
> of the host.
>
> Regards,
> Janet
>
> On Mon, 12 Jan 2004, Kenneth Michelson wrote:
>
> > Hey-
> >
> > Although the timers do now work in emulation mode, I have found that
> > sending to the broadcast address doesn't work. On the receiving end of a
> > broadcast packet, no "receive" message occurs, which tells me that the
> > packet was never really sent...
> >
> > The other indication is that our code works in simulation mode and not
> > emulation.
> >
> > If this is really the case, the bugs with fishnet are making it really
> > hard to debug our own code, which we've been working on for some time.
> > It's not really fair to the students of the class to work with buggy
> > fishnet code and not know if it's actually their fault or whether it's
> > just another large bug in the provided code. We spend a lot of our time
> > tracking down bugs that are out of our control.
> >
> > For the first assignment in the class, where we really don't know that
> > much about networking, it's probably doubling our work time.
> >
> > Ken Michelson and Laura Steinkamp
> >
> >
>
> --
> Janet Davis
> jlnd_at_cs.washington.edu
> http://www.cs.washington.edu/homes/jlnd/
>
>
_______________________________________________
Cse461 mailing list
Cse461_at_cs.washington.edu
http://mailman.cs.washington.edu/mailman/listinfo/cse461
This archive was generated by hypermail 2.1.6 : Mon Jan 12 2004 - 19:36:18 PST