Welcome to network programming - it's week four and I feel like we just got started

I found these pages out there in the ether. Let's take a look.
SDL3 Wiki
Github SDL3
I cleaned up the code from last week a bit. Let's start again.
UDPClient.zip
UDPServer.zip

Assignment 0:(0/0)


Create a TCP/IP connection between two computers.
Here's some starter code.
TCPClient.zip
TCPServer.zip

Since Umer, Z and N plus second year M have pushed us into the unknown world of SDL3, I guess we'll work this out together.
The theory of this stuff I can explain easily. The new API? Let's do it.

Assignment 1:(20/25)


Create a chat system where the client and the server can write messages back and forth. The trick is in how to loop the send and recieve.
For the extra credit: Multi thread the program - yes, you can get credit for the engine class.

Assignment 2:(20/25)


Let's see if we can read a website
ReadWebPages.zip
For the extra credit: Do it with SSL

Assignment 3:


Vocabulary quiz

Assignment 4:(20/25)


Build UDP project in Unity or Unreal to communicate with C++. No chat silliness, this time send positional data including orientation.

I wanted to demonstrate how to serialize data at the byte level. Here is the finalized code I was writing in class.
UDPServer - wData.zip
UDPClient - wData.zip
UDPClientC# - wData.zip

In today's class I asked Cody to show you some code on how to make UDP work in Unity

For the extra credit: Do it between two Unity projects or better between a Unity build and an Unreal build



Hey, check this out. Our very own Peter put together some code to connect Nintendo's JoyCon to the an engine through bluetooth JoyCon.h
JoyCon.cpp