Re: Re: Re Re: Re: UNIX Sockets - Broadcast address

2001-12-17 Thread Kay M
, must have been done ?) >On Mon, Dec 17, 2001 at 03:37:13AM +0000, Kay M wrote: >>So what the bottom line, no broadcasting ?. > >Question: Has any one ever written a program on cygwin that uses A >broadcast address ?. A client program to be more specific. What about actu

Re Re: Re: UNIX Sockets - Broadcast address

2001-12-16 Thread Kay M
So what the bottom line, no broadcasting ?. Question: Has any one ever written a program on cygwin that uses A broadcast address ?. A client program to be more specific. On Thu, Dec 13, 2001 at 08:08:15AM +, Kay M wrote: >Yup, Like I said Ok with LINUX, so ? > >What could

Re: Re: UNIX Sockets - Broadcast address

2001-12-13 Thread Kay M
buf size */ 0, /* Flags: no options */ (struct sockaddr *)&adr, /* Addr */ &x); /* Addr len, in & out */ if ( z < 0 ) bail("recvfrom(2)"); /* else err */ fwrite(dgram,z,1,stdout); putchar('\n'

UNIX Sockets - Broadcast address

2001-12-11 Thread Kay M
, Kay M wrote: >I have written a client program that connects to the local broadcast >address and reads datagrams that are produced by a server. It works on my >linux (no internet) machine. But on my PC under CYGWIN the binding of the >socket to the Broadcast Address give an error

UNIX Sockets - Broadcasting - Broadcast address

2001-12-10 Thread Kay M
I have written a client program that connects to the local broadcast address and reads datagrams that are produced by a server. It works on my linux (no internet) machine. But on my PC under CYGWIN the binding of the socket to the Broadcast Address give an error EADDRNOAVAIL. I tried both 127.

Problem using pthreads with GCC under CygWin

2001-12-08 Thread Kay M
I have win98 Have installed Cygwin B20.1 and also have installed version 1.3.3. I have a simple .c file that is a pthreads example. Problem is When I compile it it dont compile. GCC cant see the pthreads libraries. Ive tried the -pthread and -pthreads switch. Ans also #included the pthreads.h.