top of page

Winsock Chat Application

OVERVIEW

- C++ / Visual Studio

- Winsock Interface

- Student Project

ABOUT

 

Whilst learning and developing my skills with C++ code, i created a chat application using the Winsock programming interface with an object orientated approach. The screenshots below show the app where a client program and server program can communicate with each other by sending and receiving messages.

The code screenshots show a parent class named 'Comms' in which most of the initialization for both the server and client sockets are done. The 'Server' and 'Client' classes both inherit from the Comms base class, inheriting the initialized sockets, these two classes then have the more specific functions within them such as the Client attempting to connect to the server and the server accepting that connection.

The program also exhibits exception handling in most of the functions, as shown in the code examples and the chat screenshot, here it shows that the client threw a socket bind error, but was still able to connect to the server. One other feature exhibited here are pre-processor directives, but more specifically conditional includes, this is shown within the main functions of both the client and server configured programs, you can see within the first code screenshot that only the client or only the server code will run depending on how the includes have been defined.

I am a 20 year old Student currently studying Games Development at Buckinghamshire New University. I am an aspiring developer with a motivation for programming and developing games. I am predominantly learning programming for games in C# as well as advanced C++ in more practical applications.

 

My main interest is programming AI, of which is the basis of my dissertation for my final year at university. I also enjoy creating new and creative game mechanics, developing for VR, and learning new programming languages and methods.

Part of my passion for this subject is taking part in Game Jams and competitions such as the 'Brains Eden 2018' game jam and the 'Search for a Star 2019' competition.

I gained a first from my first two years at university and whilst completing my final year, i hope to develop my skills more and produce more games and projects of a higher standard.

Justin Ross Leatherbarrow

JustinLeatherbarrow@hotmail.com

07712249063

 

CV

<< SKILLS >>

Personal

- Team Working

- Problem Solving

- Dependable

- Hard Working/         Motivated

- Creative

Fields

- AI programming

- Gameplay Mechanics

- VR development

- Game Engine development

- Basic Network Coding

- Basic Shader programming

<< CONTACT >>

Languages

- C#

- C++

- OpenGL & C

- Cuda (Basic)

- Lua (Basic)

Software

- Unity

- Visual Studio

<< HELLO >>

Thank You

bottom of page