Added UDP sockets functions