ChorusOS 4.0 Migration Guide

2.10 BSD Compatible Interfaces

The 4.3 BSD compatible interfaces in the ChorusOS 3.2 operating system have been replaced by 4.4 BSD compatible interfaces in the ChorusOS 4.0 operating system. IOM is no longer compiled with the COMPAT_43 option.

As a result of this change, the sockaddr structure has a new field, sa_len:

struct sockaddr {
    u_char sa_len;    /* total length */
    u_char sa_family; /* address family */
    char sa_data[14]; /* actually longer; address value */ 
}  

Any applications using the old form of sockaddr, without the sa_len field, must be updated to initialize the structure correctly.