Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Winsock Multi-Client Chat Application

A TCP-based client-server chat application built in C++ using the Windows Winsock API. The project demonstrates socket programming, multithreading, and real-time communication between clients and the server.

Features

  • TCP socket implementation
  • Client-server architecture
  • Multi-client communication
  • Multithreaded communication
  • Error handling for socket operations
  • Built using the Winsock API

Technologies Used

  • C++
  • Winsock2
  • Windows API
  • Multithreading
  • socket programming

Project Structure

Client/ Server/

How to Run

  1. Build both the Client and Server projects.
  2. Start the server.
  3. Start one or more client instances.
  4. Connect the clients to the server.
  5. Begin sending messages.

Future Improvements

  • Multi-client broadcasting
  • Usernames
  • Private messaging
  • Message timestamps
  • Chat history
  • Graceful client disconnection

Learning Outcomes

  • TCP/IP networking
  • Socket programming with Winsock
  • Client-server architecture
  • Multithreading in C++
  • Synchronization and concurrent programming

About

A multithreaded TCP client-server chat application built in C++ using the Windows Winsock API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages