TCP is a reliable protocol. There is an acknowledgement for each TCP packet.
In UDP there are no acknowledgements. That means the sender does not know if a packet is received by the receiver.
In TCP if an ack (acknowledgement) is not received for a long time, the sender sends the same packet again to ensure that each packet is properly received in the other end.
In TCP protocol it is handled in such a way as to not to repeat the same packet if received twice and not to lose any packet. There are sequence numbers and acknowledgement numbers to each TCP packet.
IP is in a lower level than TCP or UDP. There can be TCP/IP or UDP/IP. IP means Internet protocol. TCP means Transport Control Protocol.
In UDP there are no acknowledgements. That means the sender does not know if a packet is received by the receiver.
In TCP if an ack (acknowledgement) is not received for a long time, the sender sends the same packet again to ensure that each packet is properly received in the other end.
In TCP protocol it is handled in such a way as to not to repeat the same packet if received twice and not to lose any packet. There are sequence numbers and acknowledgement numbers to each TCP packet.
IP is in a lower level than TCP or UDP. There can be TCP/IP or UDP/IP. IP means Internet protocol. TCP means Transport Control Protocol.