[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux for help (fwd)
> *grin* Well? Why is that UDP socket connection failing? You have a linux web
> site don't you? :)
>
> > the internal nodes. It prints out "Connect Refused",
> > which stuck us since there is no reason for this kind of
> > failure. I suspect the problem is in the confiugration.
> >
> > /* check the port number of the serverwork byte order */
> > if ((sp = getserverbyname(SERVICE, "udp")) == NULL) {
> > fprintf(stderr, "%s/udp: unknown service. \n", SERVICE);
> > exit(1);
> > }
perhaps he means getservbyname? he definitely doesn't want a
getserver there.... (i dunno what libraries he's using that have
that defined, but i bet it's not what he meant.)
Anyway. And yes, I do run a linux web site. ;)
--Roger