Network programming code (C,C++ and Java)