Compiles with no-sock parameter. Not tested.