On 16 May 2005 03:29:26 -0700, "nazgulero" <>
wrote in comp.lang.c:
> Hello all,
>
>
> I am fairly new to C, and I am trying to write a client/server API
> for multicast. I have come across the script below, but for some
> reason, the server does not get any of the multicast traffic from the
> client, so I am afraid that somewhere there might be a mistake in the
> script. Would anybody care to have a quick check ? Never mind the
> French comments, I ŽborrowedŽ the script from a French website...
>
>
> // Server code
> #include <stdio.h>
> #include <string.h>
> #include <netinet/in.h>
> #include <unistd.h>
> #include <sys/socket.h>
> #include <signal.h>
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <fcntl.h>
[snip]
Sorry, wrong newsgroup. Three of the headers above are part of the C
language, the other six are non-standard extensions provided by your
particular compiler/OS combination and off-topic here. Standard C
does not provide any built-in support for any sort of networking.
You need to ask about this in a platform specific group, for your
specific UNIX variant.
Perhaps news:comp.os.linux.development.apps if you use Linux, or
generically news:comp.unix.programmer.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html