compile the original sock program from Rechard Stevens