Stream socket: A stream socket provides two way communications among a client and server. This communication is trustworthy and sequenced. The stream sockets are above TCP to execute across any networks. They offer unduplicated flow of data and have fine established mechanism for making and destroying connections and for detecting faults/errors.