(school homework) networking based auction handling program in C