Skip to content

bla-ce/miaou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Server in Netwide Assembly

A simple chat server and client implemented entirely in Assembly for x86-64 Linux.

Chat means cat in French, hence the project name Miaou echoing the sound a cat makes in French.

Prerequisites

  • NASM assembler
  • GNU ld linker
  • Make

Directory layout

inc/malloc/     Custom malloc implementation
inc/utils/      Utility routines
inc/boeuf/      Dynamic buffers library
inc/miaou/      Chat protocol definitions
src/        Assembly sources (.s)
build/      Output directory for executables

Build

Use the Makefile to assemble and link executables. Specify the target via PROGRAM_NAME.

  • Build the client:

    make PROGRAM_NAME=client
  • Build the server:

    make PROGRAM_NAME=server

Executables are placed in the build/ directory:

build/client
build/server

Run

  1. Start the server in one terminal:

    ./build/server
  2. In another terminal, start a client:

    ./build/client
  3. Multiple clients can connect to the server to chat.

About

Chat Server in Netwide Assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published