SOCK_stream class