BTW: if you think about to use UDP you should know that other than in TCP you have to detect and correct transmision errors by your own. UDP is more kind of a raw data system (basicly thought to send connection error codes). The pro is it's a direct connection to the target, where TCP is rather a packet system where data is split into packets that may arrive in an order that is diffrent from the one that was sent.
Using UDP requires to develop your own checksum system that allows to reorder corrupted transmission.
Using UDP requires to develop your own checksum system that allows to reorder corrupted transmission.