Bloomberg interview question

Difference between TCP vs UDP

Interview Answer

Anonymous

26 Oct 2010

TCP - is a reliable control protocol and is of the family SOCK_STREAM , maintains a connection between two sockets after they are binded UDP - is unreliable and is of the family SOCK_DGRAM .. does not maintain connection and send packet with port number and ip address binded to it ...