I'm writing a server that will run in a separate thread. Since I'm using a Thread class, the server is written as a class by itself. However I need for the server to access some of the data that is in the main class.
So I have instantiated the class like so:
ServerThread serv;
in the class...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.