matthew@duality:~/Desktop/Ziggurat$ g++ -o zigserv zig.cpp zig.cpp:27: error: variable or field ‘HandleTCPClient’ declared void zig.cpp:27: error: ‘TCPSocket’ was not declared in this scope zig.cpp:27: error: ‘sock’ was not declared in this scope zig.cpp: In function ‘int main(int, char**)’: zig.cpp:32: error: ‘cerr’ was not declared in this scope zig.cpp:32: error: ‘endl’ was not declared in this scope zig.cpp:39: error: ‘TCPServerSocket’ was not declared in this scope zig.cpp:39: error: expected `;' before ‘servSock’ zig.cpp:43: error: ‘TCPSocket’ was not declared in this scope zig.cpp:43: error: ‘clntSock’ was not declared in this scope zig.cpp:43: error: ‘servSock’ was not declared in this scope zig.cpp:49: error: ‘cerr’ was not declared in this scope zig.cpp:49: error: ‘endl’ was not declared in this scope zig.cpp:53: error: expected type-specifier before ‘SocketException’ zig.cpp:53: error: expected `)' before ‘&’ token zig.cpp:53: error: expected `{' before ‘&’ token zig.cpp:53: error: ‘e’ was not declared in this scope zig.cpp:53: error: expected `;' before ‘)’ token zig.cpp: At global scope: zig.cpp:63: error: variable or field ‘HandleTCPClient’ declared void zig.cpp:63: error: redefinition of ‘int HandleTCPClient’ zig.cpp:27: error: ‘int HandleTCPClient’ previously defined here zig.cpp:63: error: ‘TCPSocket’ was not declared in this scope zig.cpp:63: error: ‘sock’ was not declared in this scope zig.cpp: In function ‘void* ThreadMain(void*)’: zig.cpp:93: error: ‘TCPSocket’ was not declared in this scope zig.cpp:93: error: expected primary-expression before ‘)’ token zig.cpp:93: error: ‘HandleTCPClient’ cannot be used as a function zig.cpp:95: error: expected primary-expression before ‘)’ token zig.cpp:95: error: expected `;' before ‘clntSock’