Introduction - If you have any usage issues, please Google them yourself
Each uses its own communciations protocol. Stream sockets use TCP ( Transmission Control Protocol), which is a reliable, stream oriented protocol, and datagram sockets use UDP (Unix Datagram Protocol), which is unreliable and message oriented