Fixed Socket Hang Up

Finished socket testing.