Quote:
Originally Posted by adiaconou
Can someone please compare/differentiate TLI and sockets? what are the advantages to either one? disadvantages?
Thanks
Standard reference for this is the W Richard Stevens book on UNIX Network Programming.
TLI was superceded by XTI. Apple's OpenTransport used this as a networking model. Advantages include supports more protocol families and able to send extra data at connection time if the protocol supports it. It has a host of problems centered around it's states with t_look().
Sockets comes from BSD and has also been implemented on System V, Linux, Windows, OS/2, OS/400 and many more. This is basically the standard networking api at this level now.