Supported Protocol Families

The supported domains' protocol families are defined in the <SYS\SOCKET.H> header file and are listed in the following table:

Protocol Families Supported

┌───────────────────────────────────────────────────────────────────┐
│Protocol       #define in        Supported         Supported Socket│
│Family         <SYS\SOCKET.H>    Protocols         Types           │
├───────────────────────────────────────────────────────────────────┤
│TCP/IP         PF_INET           ICMP, IP, TCP,    Datagram, raw,  │
│                                 UDP               stream          │
├───────────────────────────────────────────────────────────────────┤
│Local IPC      PF_OS2 or PF_UNIX Local IPC         Datagram, stream│
├───────────────────────────────────────────────────────────────────┤
│NetBIOS        PF_NETBIOS or     NetBIOS           Datagram,       │
│               PF_NB                               sequenced packet│
├───────────────────────────────────────────────────────────────────┤
│Routing        PF_ROUTE          Routing messages  Raw             │
└───────────────────────────────────────────────────────────────────┘

As the table indicates, some socket types can be used in more than one protocol family.


[Back: Socket Protocol Families]
[Next: TCP/IP Properties]