removed raise socket error in pcmodule