From naa at usc.edu Sun Jan 18 05:54:09 2004 From: naa at usc.edu (nishant agarwal) Date: Sun Jan 18 05:54:12 2004 Subject: [Csci551-talk] problems with downloading papers Message-ID: <1325ae31325d2e.1325d2e1325ae3@usc.edu> Hi, The links for downloading papers are not working. Is it working for rest of you? Nishant From naa at usc.edu Sun Jan 18 19:02:08 2004 From: naa at usc.edu (nishant agarwal) Date: Sun Jan 18 19:02:10 2004 Subject: [Csci551-talk] suggested fix for downloading papers Message-ID: <13b924b13bc8fe.13bc8fe13b924b@usc.edu> first log on to the vpn dialer and then click on the links on the main page. alternatively u can also go to the html syllabus page and click on the links there -- as per Parag From johnh at ISI.EDU Mon Jan 19 14:56:14 2004 From: johnh at ISI.EDU (John Heidemann) Date: Mon Jan 19 14:56:18 2004 Subject: [Csci551-talk] problems with downloading papers In-Reply-To: <1325ae31325d2e.1325d2e1325ae3@usc.edu> Message-ID: <200401192256.i0JMuEUv010446@dash.isi.edu> On Sun, 18 Jan 2004 05:54:09 PST, nishant agarwal wrote: >Hi, > >The links for downloading papers are not working. Is it working for rest of you? > >Nishant The links to the papers were just fixed. -John Heidemann From johnh at ISI.EDU Mon Jan 19 15:00:32 2004 From: johnh at ISI.EDU (John Heidemann) Date: Mon Jan 19 15:00:36 2004 Subject: [Csci551-talk] suggested fix for downloading papers In-Reply-To: <13b924b13bc8fe.13bc8fe13b924b@usc.edu> Message-ID: <200401192300.i0JN0Wrh010955@dash.isi.edu> On Sun, 18 Jan 2004 19:02:08 PST, nishant agarwal wrote: >first log on to the vpn dialer and then click on the links on the main page. alternatively u can also go to the html syllabus page and click on the links there > >-- as per Parag No, that's not necessary. My web pages are password protected, not protected by IP address. With the proper password (the one given in the first class), all students in my class can access them. The links on the web page were incorrect (my error) but have now been fixed. -John Heidemann From paragsha at usc.edu Sat Jan 24 14:58:53 2004 From: paragsha at usc.edu (parag shah) Date: Sat Jan 24 14:58:55 2004 Subject: [Csci551-talk] dates for the midterm and finals Message-ID: Hi does someone know the date/time for the midterm and the final? parag shah From pillai at usc.edu Sat Jan 24 15:25:53 2004 From: pillai at usc.edu (sameer pillai) Date: Sat Jan 24 15:26:03 2004 Subject: [Csci551-talk] dates for the midterm and finals Message-ID: Hey, All the info is put up on the syllabus page. Anyways, Midterm - March 12 (No time specified, shud be during regular class hours) Finals - May 7 (8 - 10 am) Sameer ----- Original Message ----- From: parag shah Date: Saturday, January 24, 2004 2:58 pm Subject: [Csci551-talk] dates for the midterm and finals > Hi > > does someone know the date/time for the midterm and the final? > > parag shah > > From naa at usc.edu Mon Jan 26 17:07:42 2004 From: naa at usc.edu (nishant agarwal) Date: Mon Jan 26 17:07:51 2004 Subject: [Csci551-talk] dates for the midterm and finals Message-ID: <140a3441408da0.1408da0140a344@usc.edu> what's the hurry, mate !! neways I had a question too in case I missed that in class, are the NS simulations part of hw or part of projects?? Nishant ----- Original Message ----- From: parag shah Date: Saturday, January 24, 2004 2:58 pm Subject: [Csci551-talk] dates for the midterm and finals > Hi > > does someone know the date/time for the midterm and the final? > > parag shah > > From goelvarun at usa.com Thu Jan 29 12:45:12 2004 From: goelvarun at usa.com (Varun Goel) Date: Thu Jan 29 12:45:28 2004 Subject: [Csci551-talk] LandMark Hierarchy Example Message-ID: <20040129204512.32399.qmail@usa.com> 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/ From liyuan at pollux.usc.edu Thu Jan 29 13:40:57 2004 From: liyuan at pollux.usc.edu (Yuan Li) Date: Thu Jan 29 13:41:25 2004 Subject: [Csci551-talk] LandMark Hierarchy Example In-Reply-To: <20040129204512.32399.qmail@usa.com> Message-ID: 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/ > From goelvarun at usa.com Thu Jan 29 14:15:45 2004 From: goelvarun at usa.com (Varun Goel) Date: Thu Jan 29 14:24:59 2004 Subject: [Csci551-talk] LandMark Hierarchy Example Message-ID: <20040129221545.7728.qmail@usa.com> 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 Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST) To: Varun Goel 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/ From naa at usc.edu Thu Jan 29 20:11:14 2004 From: naa at usc.edu (nishant agarwal) Date: Thu Jan 29 20:11:16 2004 Subject: [Csci551-talk] socket programs Message-ID: I have done: #include 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 From liyuan at pollux.usc.edu Thu Jan 29 20:36:54 2004 From: liyuan at pollux.usc.edu (Yuan Li) Date: Thu Jan 29 20:37:30 2004 Subject: [Csci551-talk] LandMark Hierarchy Example In-Reply-To: <20040129221545.7728.qmail@usa.com> Message-ID: 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 > Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST) > To: Varun Goel > 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/ > From devarshi at ieee.org Thu Jan 29 20:36:13 2004 From: devarshi at ieee.org (Devarshi Shah) Date: Fri Jan 30 08:22:13 2004 Subject: [Csci551-talk] socket programs In-Reply-To: Message-ID: <200401300436.i0U4aK007687@vapor.isi.edu> 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@ieee.org Cell : 323-363-3791, Home :323-373-0318 -------------------------------------------------------------- -----Original Message----- From: csci551-talk-bounces@mailman.isi.edu [mailto:csci551-talk-bounces@mailman.isi.edu] On Behalf Of nishant agarwal Sent: Thursday, January 29, 2004 8:11 PM To: csci551-talk@ISI.EDU Subject: [Csci551-talk] socket programs I have done: #include 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 From johnh at ISI.EDU Fri Jan 30 08:39:09 2004 From: johnh at ISI.EDU (John Heidemann) Date: Fri Jan 30 08:39:05 2004 Subject: [Csci551-talk] socket programs In-Reply-To: Message-ID: <200401301639.i0UGd9wN004840@dash.isi.edu> On Thu, 29 Jan 2004 20:11:14 PST, nishant agarwal wrote: >I have done: >#include 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 From paragsha at usc.edu Fri Jan 30 12:26:42 2004 From: paragsha at usc.edu (parag shah) Date: Fri Jan 30 12:26:51 2004 Subject: [Csci551-talk] socket programs Message-ID: add "-lnsl -lsocket -lresolv" to the end of the compile command cheers parag ----- Original Message ----- From: nishant agarwal Date: Thursday, January 29, 2004 8:11 pm Subject: [Csci551-talk] socket programs > I have done: > #include 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 > > From atu011 at earthlink.net Sat Jan 31 17:37:44 2004 From: atu011 at earthlink.net (Aaron Tu) Date: Sat Jan 31 17:38:12 2004 Subject: [Csci551-talk] RE: Socket Program In-Reply-To: <200401302000.i0UK0Ak18991@gamma.isi.edu> Message-ID: <001001c3e864$02f489e0$6701a8c0@LATUALP> Is there a homework assignment (socket program) that I'm not aware of? Aaron -----Original Message----- From: csci551-talk-bounces@mailman.isi.edu [mailto:csci551-talk-bounces@mailman.isi.edu] On Behalf Of csci551-talk-request@mailman.isi.edu Sent: Friday, January 30, 2004 12:00 PM To: csci551-talk@mailman.isi.edu Subject: Csci551-talk Digest, Vol 1, Issue 154 Send Csci551-talk mailing list submissions to csci551-talk@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@mailman.isi.edu You can reach the person managing the list at csci551-talk-owner@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" Subject: [Csci551-talk] LandMark Hierarchy Example To: csci551-talk@mailman.isi.edu Message-ID: <20040129204512.32399.qmail@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 Subject: Re: [Csci551-talk] LandMark Hierarchy Example To: Varun Goel Cc: csci551-talk@mailman.isi.edu Message-ID: 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" Subject: Re: [Csci551-talk] LandMark Hierarchy Example To: "Yuan Li" Cc: csci551-talk@mailman.isi.edu Message-ID: <20040129221545.7728.qmail@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 Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST) To: Varun Goel 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 Subject: [Csci551-talk] socket programs To: csci551-talk@ISI.EDU Message-ID: Content-Type: text/plain; charset=us-ascii I have done: #include 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 Subject: Re: [Csci551-talk] LandMark Hierarchy Example To: Varun Goel Cc: csci551-talk@mailman.isi.edu Message-ID: 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 > Date: Thu, 29 Jan 2004 13:40:57 -0800 (PST) > To: Varun Goel > 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" Subject: RE: [Csci551-talk] socket programs To: Message-ID: <200401300436.i0U4aK007687@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@ieee.org Cell : 323-363-3791, Home :323-373-0318 -------------------------------------------------------------- -----Original Message----- From: csci551-talk-bounces@mailman.isi.edu [mailto:csci551-talk-bounces@mailman.isi.edu] On Behalf Of nishant agarwal Sent: Thursday, January 29, 2004 8:11 PM To: csci551-talk@ISI.EDU Subject: [Csci551-talk] socket programs I have done: #include 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 Subject: Re: [Csci551-talk] socket programs To: nishant agarwal Cc: csci551-talk@ISI.EDU Message-ID: <200401301639.i0UGd9wN004840@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 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@mailman.isi.edu http://mailman.isi.edu/mailman/listinfo/csci551-talk End of Csci551-talk Digest, Vol 1, Issue 154 ********************************************