Greetings,

I wonder about the relevance and consideration of XOPEN sockets.

For certain XOPEN defines, i.e. socket() is mapped to __xnet_socket(), 
which results in so_socket() being called with SOV_XPG4_2. However, this 
does not seem to make much difference in the code, though, as I only 
found checks like this one:

                        if ((so->so_version == SOV_XPG4_2) &&
                            (error == EHOSTUNREACH)) {
                                error = ENETUNREACH;
                        }

[from socksctp.c - and sctp seems to be the only protocol that considers 
this at all, judging from the code searches I did:
http://src.opensolaris.org/source/search?q=SOV_XPG4_2&defs=&refs=&path=&hist=&project=%2Fvolo]

So, is there anything else than this error code that makes a difference?

Conc. the relevance: X/Open sockets have been dropped from Stevens UNP 
vol1, but it's still around: the latest binary from MySQL Cluster uses 
__xnet_socket().

The reason why I care at all is that we are implementing plug-in sockets 
for low-latency communication (see project volo).

  Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to