Fixed performance issue; Added UDP sockets