S
Smitha S.
Hi,
I wanted some suggestions on creating a server object. I want to create a
class SearchEngineServer that listens on clients for a query and performs
a search on database (or passes the request to the relevant server) and
returns the results to the client. All the while I have been implementing
this server in a main() function and not as a class. But now I want to
convert it into a class since the functionalities are increasing. Any
suggestions? Also once I create a class, how do I instantiate in my main
and make sure it is accepting connections?
Thanks,
-Smitha S-
I wanted some suggestions on creating a server object. I want to create a
class SearchEngineServer that listens on clients for a query and performs
a search on database (or passes the request to the relevant server) and
returns the results to the client. All the while I have been implementing
this server in a main() function and not as a class. But now I want to
convert it into a class since the functionalities are increasing. Any
suggestions? Also once I create a class, how do I instantiate in my main
and make sure it is accepting connections?
Thanks,
-Smitha S-