[RSPlib-Discusssion] unsupported address family

Thomas Dreibholz dreibh at exp-math.uni-essen.de
Thu Feb 20 14:27:02 CET 2003


Hi!

-----
Connecting to (unsupported address family #5)...
ERROR: SocketAddress::createSocketAddress(sockaddr) - Unknown address
family !
Connection establishment failed: Can't assign requested address
-----

I assume you establish a connection using ext_connect() using a sockaddr_*
structure created before. Check the code that creates this structure. Do
you set the address family correctly (e.g. address->sin_family =3D AF_INET
for sockaddr_in)?
The error message above is printed when a sockaddr_* structure is
converted to an SocketAddress object; this is the structure where
addresses are handled internally. Currently, only AF_INET, AF_INET6 and
AF_UNIX are supported by this class. The family type 5 is AF_CHAOS (under
FreeBSD).


Best regards
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 Dipl.-Inform. Thomas Dreibholz

 University of Essen,                            Room ES210
 Inst. for Experimental Mathematics              Ellernstra=DFe 29
 Computer Networking Technology Group            D-45326 Essen/Germany
-----------------------------------------------------------------------
 E-Mail:     dreibh at exp-math.uni-essen.de
 Homepage:   http://www.exp-math.uni-essen.de/~dreibh
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D




More information about the rsplib-discussion mailing list