Massive changes (first commit), including but not limited to:

* Ability to specify port and address to bind to
* By default, binds only to 127.0.0.1 port 13666
* Client commands now return usage when no options given
* New driver command: getinfo
* Added comments all over the place
* Used #defines to further document code
* Used #defines to set up compile-time defaults, etc.
* Cleaned up client command argument analysis in client_functions.c
* Beginning support of syslog
* Some bug fixes
This commit is contained in:
ddouthitt
2001-09-21 21:08:10 +00:00
parent 909f9791cf
commit 6a0e23dc3e
22 changed files with 1767 additions and 785 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ screenlist_current ()
c = old_s->parent;
if (c) // Tell the client we're not listening any more...
{
sprintf (str, "ignore %s\n", old_s->id);
snprintf (str, sizeof(str), "ignore %s\n", old_s->id);
sock_send_string (c->sock, str);
} else // The server has the display, so do nothing
{
@@ -125,7 +125,7 @@ screenlist_current ()
c = s->parent;
if (c) // Tell the client we're paying attention...
{
sprintf (str, "listen %s\n", s->id);
snprintf (str, sizeof(str), "listen %s\n", s->id);
sock_send_string (c->sock, str);
} else // The server has the display, so do nothing
{