From 94118039427c81e047424c73f2f6c3ccb2e88f94 Mon Sep 17 00:00:00 2001 From: Barry Kane Date: Fri, 10 Sep 2021 15:07:42 +0100 Subject: [PATCH] Increment version message for merge. Incremented the version number by 0.1 for the server. Added version splash to the client. --- src/SilverMUDClient.c | 5 ++++- src/SilverMUDServer.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/SilverMUDClient.c b/src/SilverMUDClient.c index 18a4a6a..bde2293 100644 --- a/src/SilverMUDClient.c +++ b/src/SilverMUDClient.c @@ -78,9 +78,12 @@ int main(int argc, char **argv) struct sockaddr_in servaddr, cli; pthread_t sendingThread; pthread_t receivingThread; - + // Set the SIGINT handler. signal(SIGINT, sigintHandler); + + // Print welcome message: + slowPrint("\n--==== \033[33;40mSILVERKIN INDUSTRIES\033[0m COMM-LINK CLIENT ====--\nVersion Alpha 0.2\n", 5000); // Give me a socket, and make sure it's working: sockfd = socket(AF_INET, SOCK_STREAM, 0); diff --git a/src/SilverMUDServer.c b/src/SilverMUDServer.c index 32b7255..3eb8724 100644 --- a/src/SilverMUDServer.c +++ b/src/SilverMUDServer.c @@ -29,7 +29,7 @@ int main() // Give an intro: Display the Silverkin Industries logo and splash text. slowPrint(logostring, 3000); - slowPrint("\n--==== \033[33;40mSILVERKIN INDUSTRIES\033[0m COMM-LINK SERVER ====--\nVersion Alpha 0.1\n", 5000); + slowPrint("\n--==== \033[33;40mSILVERKIN INDUSTRIES\033[0m COMM-LINK SERVER ====--\nVersion Alpha 0.2\n", 5000); // Initialize the sockets to 0, so we don't crash. for (int index = 0; index < maxClients; index++)