[Csci551-talk] Re: Csci551-talk Digest, Vol 2, Issue 1

rahul pilani pilani at usc.edu
Sun Feb 1 12:10:58 PST 2004


Wouldnt it be better to use learn.usc.edu's discussion board .. rather than a mailing list like this one?.. i know this is more direct.. but that is more sophisticated and much more convenient..
just a suggestion..

Rahul

----- Original Message -----
From: csci551-talk-request at mailman.isi.edu
Date: Sunday, February 1, 2004 12:00 pm
Subject: Csci551-talk Digest, Vol 2, Issue 1

> Send Csci551-talk mailing list submissions to
> 	csci551-talk at mailman.isi.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.isi.edu/mailman/listinfo/csci551-talk
> or, via email, send a message with subject or body 'help' to
> 	csci551-talk-request at mailman.isi.edu
> 
> You can reach the person managing the list at
> 	csci551-talk-owner at mailman.isi.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Csci551-talk digest..."
> 
> 
> Today's Topics:
> 
>   1. RE: Socket Program (Aaron Tu)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 31 Jan 2004 17:37:44 -0800
> From: "Aaron Tu" <atu011 at earthlink.net>
> Subject: [Csci551-talk] RE: Socket Program
> To: <csci551-talk at mailman.isi.edu>
> Message-ID: <001001c3e864$02f489e0$6701a8c0 at LATUALP>
> Content-Type: text/plain;	charset="us-ascii"
> 
> Is there a homework assignment (socket program) that I'm not aware of?
> 
> Aaron
> 
> -----Original Message-----
> From: csci551-talk-bounces at mailman.isi.edu
> [csci551-talk-bounces at mailman.isi.edu] On Behalf Of
> csci551-talk-request at mailman.isi.edu
> Sent: Friday, January 30, 2004 12:00 PM
> To: csci551-talk at mailman.isi.edu
> Subject: Csci551-talk Digest, Vol 1, Issue 154
> 
> Send Csci551-talk mailing list submissions to
> 	csci551-talk at mailman.isi.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.isi.edu/mailman/listinfo/csci551-talk
> or, via email, send a message with subject or body 'help' to
> 	csci551-talk-request at mailman.isi.edu
> 
> You can reach the person managing the list at
> 	csci551-talk-owner at mailman.isi.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Csci551-talk digest..."
> 
> 
> Today's Topics:
> 
>   1. LandMark Hierarchy Example (Varun Goel)
>   2. Re: LandMark Hierarchy Example (Yuan Li)
>   3. Re: LandMark Hierarchy Example (Varun Goel)
>   4. socket programs (nishant agarwal)
>   5. Re: LandMark Hierarchy Example (Yuan Li)
>   6. RE: socket programs (Devarshi Shah)
>   7. Re: socket programs  (John Heidemann)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 29 Jan 2004 15:45:12 -0500
> From: "Varun Goel" <goelvarun at usa.com>
> Subject: [Csci551-talk] LandMark Hierarchy Example
> To: csci551-talk at mailman.isi.edu
> Message-ID: <20040129204512.32399.qmail at usa.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> In the Landmark Hierarchy Example given in the research paper they have
> derived resulting path as 5 hops 1 greater than shortest path but it
> happened due to the fact that router having no entry for destination
> forwarded packet to level 2 router which was three hops away but if it
> had routed the packet to level 1 router which was two hops away and had
> an entry for it too, it could have resulted in shortest path.
> 
> I am unable to understand why the packet wasnt routed to level 1 router
> instead?
> 
> Please Clarify if anybody know.....
> 
> Varun
> -- 
> __________________________________________________________
> Sign-up for your own personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
> 
> Search Smarter - get the new eXact Search Bar for free!
> http://www.exactsearchbar.com/
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST)
> From: Yuan Li <liyuan at pollux.usc.edu>
> Subject: Re: [Csci551-talk] LandMark Hierarchy Example
> To: Varun Goel <goelvarun at usa.com>
> Cc: csci551-talk at mailman.isi.edu
> Message-ID: <Pine.GSO.4.33.0401291326060.22779-100000 at pollux.usc.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> 
> In the example(Fig 4), d.i.g's routing table does not have an entry for
> level 1 router n, so it needs to forward the packet to Level 2 router d
> instead.  And in its routing table, f(not k) is the next hop to reach d.
> 
> 2.2.5 could help you to better understand routing in Landmark Hierarchy.
> 
> Thanks
> 
> Yuan
> 
> 
> On Thu, 29 Jan 2004, Varun Goel wrote:
> 
> >  Hi,
> >
> > In the Landmark Hierarchy Example given in the research paper they
> have derived resulting path as 5 hops 1 greater than shortest path but
> it happened due to the fact that router having no entry for destination
> forwarded packet to level 2 router which was three hops away but if it
> had routed the packet to level 1 router which was two hops away and had
> an entry for it too, it could have resulted in shortest path.
> >
> > I am unable to understand why the packet wasnt routed to level 1
> router instead?
> >
> > Please Clarify if anybody know.....
> >
> > Varun
> > --
> > __________________________________________________________
> > Sign-up for your own personalized E-mail at Mail.com
> > http://www.mail.com/?sr=signup
> >
> > Search Smarter - get the new eXact Search Bar for free!
> > http://www.exactsearchbar.com/
> >
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 29 Jan 2004 17:15:45 -0500
> From: "Varun Goel" <goelvarun at usa.com>
> Subject: Re: [Csci551-talk] LandMark Hierarchy Example
> To: "Yuan Li" <liyuan at pollux.usc.edu>
> Cc: csci551-talk at mailman.isi.edu
> Message-ID: <20040129221545.7728.qmail at usa.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> But Yuan if u will carefully see u will notice that router in question
> do have an entry for level 1 router d.i.i  through k so it could have
> routed to  d.i.i instead of d.d.d which seems more appropriate as it is
> just two hops away i.e in the range of d.i.g (r0=2 given)
> 
> 
> Please clarify...
> 
> Thanks
> 
> Varun 
> 
> ----- Original Message -----
> 
> 
> From: Yuan Li <liyuan at pollux.usc.edu>
> Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST)
> To: Varun Goel <goelvarun at usa.com>
> Subject: Re: [Csci551-talk] LandMark Hierarchy Example
> 
> > 
> > In the example(Fig 4), d.i.g's routing table does not have an entry
> for
> > level 1 router n, so it needs to forward the packet to Level 2 router
> d
> > instead.  And in its routing table, f(not k) is the next hop to reach
> d.
> > 
> > 2.2.5 could help you to better understand routing in Landmark
> Hierarchy.
> > 
> > Thanks
> > 
> > Yuan
> > 
> > 
> > On Thu, 29 Jan 2004, Varun Goel wrote:
> > 
> > >  Hi,
> > >
> > > In the Landmark Hierarchy Example given in the research paper they
> have derived resulting path as 5 hops 1 greater than shortest path but
> it happened due to the fact that router having no entry for destination
> forwarded packet to level 2 router which was three hops away but if it
> had routed the packet to level 1 router which was two hops away and had
> an entry for it too, it could have resulted in shortest path.
> > >
> > > I am unable to understand why the packet wasnt routed to level 1
> router instead?
> > >
> > > Please Clarify if anybody know.....
> > >
> > > Varun
> > > --
> > > __________________________________________________________
> > > Sign-up for your own personalized E-mail at Mail.com
> > > http://www.mail.com/?sr=signup
> > >
> > > Search Smarter - get the new eXact Search Bar for free!
> > > http://www.exactsearchbar.com/
> > >
> > 
> 
> -- 
> __________________________________________________________
> Sign-up for your own personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
> 
> Search Smarter - get the new eXact Search Bar for free!
> http://www.exactsearchbar.com/
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 29 Jan 2004 20:11:14 -0800
> From: nishant agarwal <naa at usc.edu>
> Subject: [Csci551-talk] socket programs
> To: csci551-talk at ISI.EDU
> Message-ID: <a66908a67ff7.a67ff7a66908 at usc.edu>
> Content-Type: text/plain; charset=us-ascii
> 
> I have done:
> #include <sys/socket.h> and so on for sys/types.h , netinet/in.h,
> arpa/inet.h and all the files suggested in the local man pages. But yet
> I get symbol referencing errors for socket, bind and inet_addr . what
> cud be the problem. 
> 
> Also, what is the way to examine the status of my ports using netstat.
> How do I identify my localhost local address there so that I can grep
> and see the status of my machine ports. 
> 
> cheers
> Nishant
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Thu, 29 Jan 2004 20:36:54 -0800 (PST)
> From: Yuan Li <liyuan at pollux.usc.edu>
> Subject: Re: [Csci551-talk] LandMark Hierarchy Example
> To: Varun Goel <goelvarun at usa.com>
> Cc: csci551-talk at mailman.isi.edu
> Message-ID: <Pine.GSO.4.33.0401292023010.8807-100000 at pollux.usc.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> 
> 
> 
> On Thu, 29 Jan 2004, Varun Goel wrote:
> 
> > But Yuan if u will carefully see u will notice that router in question
> > do have an entry for level 1 router d.i.i  through k so it could have
> > routed to  d.i.i instead of d.d.d which seems more appropriate as it
> is
> > just two hops away i.e in the range of d.i.g (r0=2 given)
> 
> But g can not say for sure that d.i.i will find a way to t, though in
> this
> case it happens that i has an entry for t.
> 
> So in general when g does not have an entry for n, it needs to forward
> the
> packets to upper level router, d in this case.  d for sure has an entry
> for n, and the packets can thus be forwarded.
> 
> 
> Thanks
> 
> Yuan
> 
> 
> >
> >
> > Please clarify...
> >
> > Thanks
> >
> > Varun
> >
> > ----- Original Message -----
> >
> >
> > From: Yuan Li <liyuan at pollux.usc.edu>
> > Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST)
> > To: Varun Goel <goelvarun at usa.com>
> > Subject: Re: [Csci551-talk] LandMark Hierarchy Example
> >
> > >
> > > In the example(Fig 4), d.i.g's routing table does not have an entry
> for
> > > level 1 router n, so it needs to forward the packet to Level 2
> router d
> > > instead.  And in its routing table, f(not k) is the next hop to
> reach d.
> > >
> > > 2.2.5 could help you to better understand routing in Landmark
> Hierarchy.
> > >
> > > Thanks
> > >
> > > Yuan
> > >
> > >
> > > On Thu, 29 Jan 2004, Varun Goel wrote:
> > >
> > > >  Hi,
> > > >
> > > > In the Landmark Hierarchy Example given in the research paper they
> have derived resulting path as 5 hops 1 greater than shortest path but
> it happened due to the fact that router having no entry for destination
> forwarded packet to level 2 router which was three hops away but if it
> had routed the packet to level 1 router which was two hops away and had
> an entry for it too, it could have resulted in shortest path.
> > > >
> > > > I am unable to understand why the packet wasnt routed to level 1
> router instead?
> > > >
> > > > Please Clarify if anybody know.....
> > > >
> > > > Varun
> > > > --
> > > > __________________________________________________________
> > > > Sign-up for your own personalized E-mail at Mail.com
> > > > http://www.mail.com/?sr=signup
> > > >
> > > > Search Smarter - get the new eXact Search Bar for free!
> > > > http://www.exactsearchbar.com/
> > > >
> > >
> >
> > --
> > __________________________________________________________
> > Sign-up for your own personalized E-mail at Mail.com
> > http://www.mail.com/?sr=signup
> >
> > Search Smarter - get the new eXact Search Bar for free!
> > http://www.exactsearchbar.com/
> >
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Thu, 29 Jan 2004 20:36:13 -0800
> From: "Devarshi Shah" <devarshi at ieee.org>
> Subject: RE: [Csci551-talk] socket programs
> To: <csci551-talk at ISI.EDU>
> Message-ID: <200401300436.i0U4aK007687 at vapor.isi.edu>
> Content-Type: text/plain;	charset="us-ascii"
> 
> Hi Nishant, 
> 
> If I am correct, you would also need to link the appropriate libraries. 
> (ex. "-l socket" option).
> 
> Devarshi
> 
> Devarshi P. Shah
> --------------------------------------------------------------
> Graduate Student (Computer Science),
> University of Southern California, LA.
> --------------------------------------------------------------
> Web : http://devarshi.shah.name
> email : devarshi at ieee.org
> Cell : 323-363-3791, Home :323-373-0318
> --------------------------------------------------------------
> 
> 
> -----Original Message-----
> From: csci551-talk-bounces at mailman.isi.edu
> [csci551-talk-bounces at mailman.isi.edu] On Behalf Of nishant
> agarwal
> Sent: Thursday, January 29, 2004 8:11 PM
> To: csci551-talk at ISI.EDU
> Subject: [Csci551-talk] socket programs
> 
> I have done:
> #include <sys/socket.h> and so on for sys/types.h , netinet/in.h,
> arpa/inet.h and all the files suggested in the local man pages. But yet
> I
> get symbol referencing errors for socket, bind and inet_addr . what cud
> be
> the problem. 
> 
> Also, what is the way to examine the status of my ports using netstat.
> How
> do I identify my localhost local address there so that I can grep and
> see
> the status of my machine ports. 
> 
> cheers
> Nishant
> 
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Fri, 30 Jan 2004 08:39:09 -0800
> From: John Heidemann <johnh at ISI.EDU>
> Subject: Re: [Csci551-talk] socket programs 
> To: nishant agarwal <naa at usc.edu>
> Cc: csci551-talk at ISI.EDU
> Message-ID: <200401301639.i0UGd9wN004840 at dash.isi.edu>
> Content-Type: text/plain; charset=US-ASCII
> 
> On Thu, 29 Jan 2004 20:11:14 PST, nishant agarwal wrote: 
> >I have done:
> >#include <sys/socket.h> and so on for sys/types.h , netinet/in.h,
> arpa/inet.h and all the files suggested in the local man pages. But yet
> I get symbol referencing errors for socket, bind and inet_addr . what
> cud be the problem. 
> >
> 
> Sockets have an abstract layer (socket/bind/etc.) that is protocol
> addressing independent, and then specific headers for each protocol
> family (IPv4, IPv6, OSI, etc.).
> 
> if you want to get sockaddr_in or inet_addr, those are in the protocol
> family-specific header.  On my system (a Linux box), see man ip(7) for
> details.
> 
> 
> >Also, what is the way to examine the status of my ports using netstat.
> How do I identify my localhost local address there so that I can grep
> and see the status of my machine ports. 
> >
> >cheers
> >Nishant
> 
> ifconfig will tell you about your local address, among other ways.
> 
>   -John Heidemann
> 
> 
> ------------------------------
> 
> _______________________________________________
> Csci551-talk mailing list
> Csci551-talk at mailman.isi.edu
> http://mailman.isi.edu/mailman/listinfo/csci551-talk
> 
> 
> End of Csci551-talk Digest, Vol 1, Issue 154
> ********************************************
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Csci551-talk mailing list
> Csci551-talk at mailman.isi.edu
> http://mailman.isi.edu/mailman/listinfo/csci551-talk
> 
> 
> End of Csci551-talk Digest, Vol 2, Issue 1
> ******************************************
> 



More information about the Csci551-talk mailing list