Update WSocket.cpp