I ve connecting other process with socket connecting. So I create client socket which is object of CSocket Class. And I call Create method in CSocket class and I make my own program. But It doesn t work in create. It returns 0 value. Please tell me why does this happens.
我的简短守则
CSocket *socket = new CSocket();
if(socket->Create())
if(socket->Connect("127.0.0.1",0))
socket->Send(widthCap, sizeof(widthCap));
socket->Close();
谢谢。