New critical section.
Added UDP server.