Changes in socket system(Almost done.)