Implemented UDP socket Service (Class approach in C)