Skip to content

gabebw/udp_chat

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Let's chat over UDP

Once upon a time, @edwardloveall, being of a curious bent, decided to investigate UDP messaging for a game. He shared this ambition with me and we discovered Glenn Fiedler's excellent Networking for Game Programmers article series.

I recommend Glenn's articles - he has a clear explanation of the differences between TCP and UDP, and why TCP isn't appropriate for high-performance game programming.

OK, sure, but this isn't a game?

Yeah, fair question. We decided to implement person-to-person chat first, which turned out to be more complicated than expected. But we ended up with chat.rb, which has detailed (OSX-specific) instructions on how to find the appropriate IP address and ports for setting up a computer-to-computer connection.

Questions? Advice?

I'd describe my adventures in networking as "bumbling", so any advice is appreciated. Is there a classic text? Or a good blog post? Send it to @gabebw.

About

♫ Let's chat over UDP / let's chat, unreliably ♫

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages