summaryrefslogtreecommitdiffstats
path: root/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert main file from dos format to unix formatAlvaro Neira Ayuso2020-02-041-28/+28
| | | | Change from dos format to unix the whole main file.
* Include License headerAlvaro Neira Ayuso2020-01-191-0/+8
|
* Avoid a broken pipe error on opengnsysAlvaro Neira Ayuso2020-01-191-0/+2
|
* Port program to Python 3Alvaro Neira Ayuso2020-01-191-1/+1
| | | | | Python 2.7 will be deprecated in January of 2020. So, we need to have the program with a supported api.
* Execute socket loop on run socket functionAlvaro Neira Ayuso2020-01-191-19/+1
| | | | Ported code from main function to a client function for clearing the main loop.
* Modify Client state to use enumAlvaro Neira Ayuso2020-01-191-6/+3
| | | | | | | | | During our connections, we are using states to control the Client Socket. We defined using global variables. In case that we modify this global variable, we need to change it in serveral parts of the code. Using enums and declaring a new class, we can redefine the values or create new states without changing the same code in differents python files.
* Create new ogClientAlvaro Neira Ayuso2020-01-191-0/+39
This commit init the new ogClient. The new ogClient has support for configuring and for connecting with the ogAdminServer.