Socket abstraktion for Windows, Linux and Mac using UDP protocol