Why is it necessary to specify the socket type AND protocol...-?

nl_files

New member
...- while doing socket programming if TCP is always stream and UDP is always datagram?
Shouldn't it be enough to specify either just the protocol or just the type to know either?
 
Back
Top