clearguy Posted November 11, 2006 Share Posted November 11, 2006 Hi, I've already made a search but I havn't found something. I understand so far, that that 2 protocols are mainly the same:sending and receiving data between two entities, and that TCP structure is more complex as UDP's one. But you autoit-scripters who are knowing much more about it, would you make a little summary for me? Thanx I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
jvanegmond Posted November 11, 2006 Share Posted November 11, 2006 (edited) The protocol to choose depends heavily on what you are going to use the protocol for. Programs that require massive amounts of data to be sent, and where lost data is not much of a problem, almost always use the UDP protocol. Because UDP is slightly faster then TCP. UDP is used in applications like Limewire, or applications that use Video streaming. TCP is a lot more reliable in contrast to UDP. UDP even sometimes is called the Unreliable Datagram Protocol. So, if you are not going to build something that requires massive amounts of data to be sent, go with UDP. I myself am a big fan of using TCP all of the time.Here's a list of the advantages of TCP over UDP: Error-free data transfer Ordered-data transfer Retransmission of lost packets Discarding duplicate packets Congestion throttlingReferencesUser Datagram Protocol - WikiTransmission Control Protocol - Wiki Edited November 11, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
clearguy Posted November 11, 2006 Author Share Posted November 11, 2006 Tank you very much! So I'll go for TCP !!! (kinda game server that I want to do). I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
themax90 Posted November 12, 2006 Share Posted November 12, 2006 Check my TCP thread for tons of info and a good start. Link to comment Share on other sites More sharing options...
clearguy Posted November 12, 2006 Author Share Posted November 12, 2006 Ok so I do , thanx I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now