Re: Different socket types ... no response! (fwd)

From: David Richards <dj.richards@dont-contact.us>
Date: Thu, 26 Feb 1998 15:45:24 +1000 (EST)

No, i'm not using the wrong socket type. I want to use AF_UNIX!!!!

I need to use AF_UNIX type sockets, to communicate to a process on the
same machine.

Thanks,

Dave.

-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
David Richards Ph: +61 7 3864 4347
Network Programmer Fax: +61 7 3864 5272
Computing Services E-mail: dj.richards@qut.edu.au
Queensland University of Technology
Brisbane, Australia
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

On Thu, 26 Feb 1998, Dancer wrote:

> Umm. Shouldn't it be AF_INET, SOCK_DGRAM? My gut instinct tells me you're
> using the wrong address family. Mind you, so does the error message.
>
> D
>
>
> David Richards wrote:
>
> > Hi,
> >
> > Some of you may be aware that I've been playing with squid, it the
> > authentication area. I have just tried to place into squid a socket of
> > the type AF_UNIX, SOCK_DGRAM.
> >
> > When I try and write to this socket using "sendto", an error is
> > generated errno equals 47 (EAFNOSUPPORT) which means :
> >
> > "Address family not supported by protocol family"
> >
> > Now what puzzles me is that the calls I am using have been proven
> > time and time again, because I have created a library of these calls.
> >
> > Why will these not work in squid??
> >
> > Thanks,
> >
> > Dave.
> >
> > -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
> > David Richards Ph: +61 7 3864 4347
> > Network Programmer Fax: +61 7 3864 5272
> > Computing Services E-mail: dj.richards@qut.edu.au
> > Queensland University of Technology
> > Brisbane, Australia
> > -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
>
>
>
> --
> Did you read the documentation AND the FAQ?
> If not, I'll probably still answer your question, but my patience will
> be limited, and you take the risk of sarcasm and ridicule.
>
>
Received on Wed Feb 25 1998 - 23:43:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:59 MST