BHAN85
Senior Member
- Jan 5, 2015
- 4,885
- 2,485
- Country of Origin
- Country of Residence
It depends of the implementation.using udp means begging to be hacked
UDP is just the simple way to send information over internet, the another is TCP.
You can do a TCP implementation over UDP datagrams, if you want.
If you only need send and receive little amount of information to a database in a remote server (like the gas stations task), then UDP is enough.
In short, you dont need one million lines of foreign code to do the tasks of a gas station needs, you can do from scratch, and nobody will hack that, because only you have the code.
But if you use OpenSSL, Linux TCP/IP stack and so on, you can't never be sure of avoid hacking.