0_0_19953792_12041.cpp:2:2: error: 'string' does not name a type
string reqInfo = "GET " + (string)othPath + " HTTP/1.1\r\nHost: " + (string)host + "\r\nConnection:Close\r\n\r\n";
^
0_0_19953792_12041.cpp:3:2: error: expected unqualified-id before 'if'
if (SOCKET_ERROR == send(sock, reqInfo.c_str(), reqInfo.size(), 0))
^
|