Hi all,
where is the difference between the class socket and tcp?
If i create a Client or Server which exchange messages, which method is faster(using socket class for tcp or tcp class)?
When should i use which class?
Thx
Socket is much low-level than TCP... so it must be faster than TCP...
I'll already used socket and it's keeping a fast transfert but I never used TCP... TCP must be a little slower since it require 1 send from each computer...
1 paquet with data from source
1 paquet with confirmation of reception from destination
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.