Prev: IPC based on name pipe FIFO and transaction log file
Next: Learn about proxy sites and how to use them to open blocked sites unlimited downloads from RapidShare and megaupload and increase the speed of the Internet with new sites for free
From: Ian Collins on 2 Apr 2010 15:45 On 04/ 3/10 09:38 AM, Bill Cunningham wrote: > "Rick Jones"<rick.jones2(a)hp.com> wrote in message > news:hp5ejk$sm3$3(a)usenet01.boi.hp.com... > >> Do definitely get either Unix Network Programming or some similar >> work. It will be invaluable. > > I'm just afraid that it will talk only about AF_UNIX and not get into > internet networking. I understand there is a differenct in unix socket used > internally by the machine and internet communication. Have you read the recommended books yet? -- Ian Collins
From: Doug McIntyre on 2 Apr 2010 15:57 "Bill Cunningham" <nospam(a)nspam.invalid> writes: >"Rick Jones" <rick.jones2(a)hp.com> wrote in message >news:hp5ejk$sm3$3(a)usenet01.boi.hp.com... >> Do definitely get either Unix Network Programming or some similar >> work. It will be invaluable. > I'm just afraid that it will talk only about AF_UNIX and not get into >internet networking. I understand there is a differenct in unix socket used >internally by the machine and internet communication. There's very little use of AF_UNIX compared to AF_INET in the real world, and all books reflect that. They will cover what you need to know. Don't let UNIX as a word scare you. Very little of anything is unix specific, think of it as the source material for most of what you need to know on any platform.
From: Rainer Weikusat on 2 Apr 2010 16:10 "Bill Cunningham" <nospam(a)nspam.invalid> writes: > "Rainer Weikusat" <rweikusat(a)mssgmbh.com> wrote in message > >> In addition to the errors already mentioned by Rick Jones, there is a >> deeper misunderstanding here: Your three statements are not >> declarations (of equivalence), as if they were equations. >> >> int smtp, pop, ftp; >> >> is both a declaration and a definition of the three integer variables. >> >> smtp = socket(AF_INET, SOCK_STREAM, 0); >> pop = socket(AF_INET, SOCK_STREAM, 0); >> >> are assignment statments whose right side causes a particular system >> call (public kernel subroutine) to be executed which returns a value >> of type int which is then assigned to the object mentioned on the left >> side of the assignment operator. The difference is that this a >> procedural description of an activity the computer is supposed to >> perform. > > I'm not quite sure what you're saying I tried to point out the difference between a declaration and an operation.
From: Rainer Weikusat on 2 Apr 2010 16:13 Doug McIntyre <merlyn(a)geeks.org> writes: > "Bill Cunningham" <nospam(a)nspam.invalid> writes: >>"Rick Jones" <rick.jones2(a)hp.com> wrote: > >>> Do definitely get either Unix Network Programming or some similar >>> work. It will be invaluable. > >> I'm just afraid that it will talk only about AF_UNIX and not get into >>internet networking. I understand there is a differenct in unix socket used >>internally by the machine and internet communication. > > There's very little use of AF_UNIX compared to AF_INET in the real > world, PF_UNIX sockets are the preferable method for IPC on a single system. Also, the socket API itself is not tied to either protocol or address families.
From: Bill Cunningham on 2 Apr 2010 17:39
"Rainer Weikusat" <rweikusat(a)mssgmbh.com> wrote in message news:87y6h5k43x.fsf(a)fever.mssgmbh.com... > I tried to point out the difference between a declaration and an > operation. In your example you used 0 as the 3rd argument. Should I have done that? Or should I leave the port numbers the way they are? Bill |