Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the example codes of Network Programming Vol1 of Richard Stevens book in README following line is given

 cd ../libroute # only if your system supports 4.4BSD style routing sockets
    make           # only if your system supports 4.4BSD style routing sockets

    cd ../libxti   # only if your system supports XTI
    make           # only if your system supports XTI

So does Ubuntu 10.04 I am using 64 bit support

1) 4.4BSD style routing sockets 2) XTI How can I verify this?

share|improve this question
try both, check which one works. But I'd bet the 4.4BSD interface is supported (albeit highly restrictive). Current kernels use iproute2 - a highly extensive routing system. – Hubert Kario Nov 1 '10 at 12:31
@Hubert, it's not interfacing to the routing system, it's a programming interface for transporting packets between the application and kernel. – Chris S Nov 1 '10 at 13:10
oh, that's why I haven't heard about XTI, the "routing" part misguided me. And yes, you're right, the BSD style sockets should be used for networking. – Hubert Kario Nov 1 '10 at 19:33

BSD Sockets "won" the programming API race 10 to 15 years ago depending on the OS. You'd have to find some really old *nix software to find something that doesn't support BSD Sockets.

XTI was a system aimed at replacing the Posix API, but was a bit more cumbersome than the BSD sockets. It was most heavily used in Bell Labs System V, and was pulled along into some other OSes which are based on it (Solaris, AIX, etc). BSDs, Linux, and Windows do not support XTI by default.

If you're learning something new, stick with BSD Sockets. It is very widely used, and the "best" generic API thus far.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.