fix to opf -- missed a check for server type socket.