A simple program using network