Skip to content

A simple c++ chat client/server using TCP sockets. Made using protobuf for protocol definition.

Notifications You must be signed in to change notification settings

Byronamh/cppChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cppChat

About

This repository has the makefile and source code for a chat application using TCP sockets.

This project is made in c++ for a linux environment. It has two files and executables, client and server. The client requires a server instance running somewhere in the network (can be external).

Dependencies

This project uses protocol buffers as message format protocol. You can see the instructions on how to install the compiler here.

Building

The Makefile has three different options, protocol (builds the protobuf cpp library), server(builds the server) and client(builds the client).

Running

To run the server: $ ./server <PORT>

To run the client $ ./client <PORT> <UNAME> <SERVER IP>

About

A simple c++ chat client/server using TCP sockets. Made using protobuf for protocol definition.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published