-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7ea7a4
commit ad588fc
Showing
16 changed files
with
186 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Build with GNU Make | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Make program | ||
run: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
# ProgAssignment-5 | ||
Mesh chat application | ||
# chatroom-c | ||
chatroom-c is a multi-threaded CLI-based chat application in a mesh network design using plain C | ||
with pthreads + sockets. | ||
|
||
# Authors | ||
* Mahafuj Alam ([email protected]) | ||
* Nicholas Botticelli ([email protected]) | ||
# Building | ||
* GNU Make: | ||
`make` | ||
|
||
# Usage | ||
Example: | ||
`./chat_node` | ||
`./chatroom-c` | ||
|
||
Must have a `chatnode.properties` file matching the format shown in the repository. Default port is | ||
`51966`, aka `0xCAFE`. Comment or remove the `ip` key in the properties file to host the chat room | ||
on the desired port, otherwise, the IP + port combo is used by clients to connect to an existing | ||
chat room by filling in the properties file correctly and running `/join` once the client is | ||
started. | ||
|
||
# Authors | ||
* Mahafuj Alam | ||
* Nicholas Botticelli | ||
|
||
# Demo | ||
An example video showing cross-network chatting using an older version with a couple visual bugs | ||
(not affecting internal logic) can be seen in the YouTube video below. | ||
|
||
[](https://www.youtube.com/watch?v=PTEXrJTe-WI) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ip = 127.0.0.1 | ||
port = 51966 | ||
username = Person3 | ||
username = Person2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.