Added Socket Communication stuff.