Skip to content

Commit

Permalink
make the tcp console port a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
p2r3 committed Oct 15, 2024
1 parent e6420d0 commit 5157630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions globals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
const std::filesystem::path TEMP_DIR = std::filesystem::temp_directory_path() / "spplice-cpp";
// Holds the current package installation state
int SPPLICE_INSTALL_STATE = 0; // 0 - idle; 1 - installing; 2 - installed
// Telnet communication port between Portal 2 and Spplice
int SPPLICE_NETCON_PORT = 22333;
// TCP communication port between Portal 2 and Spplice
const int SPPLICE_NETCON_PORT = 22333;
2 changes: 1 addition & 1 deletion globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

extern const std::filesystem::path TEMP_DIR;
extern int SPPLICE_INSTALL_STATE;
extern int SPPLICE_NETCON_PORT;
extern const int SPPLICE_NETCON_PORT;

#endif

0 comments on commit 5157630

Please sign in to comment.