Finished high level socket first version