Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


This morning I decided to grab RakNet and give it a go. I thought a pretty simple chat system would be a nice short project to work on during my Christmas break.

At this point the server just sits there and accepts connections.
The client is able to connect to the server and send messages.

What I need to add:
"Rooms", so the client can join a particular room and then chat with other clients in the "room."
A system that provides each client a temporary numerical ID that is generated whenever a client enters a "room." This ID is the replacement for user names in my chat system. There are no static user names and yes basically means there is no way to know who is who.
My own basic protocol.

You are probably wondering how anyone could distinguish who they are communicating to. The only way your suppose to know who the person is, is by being in the same room. "Room" IDs are long numerical IDs that have to be communicated among two clients before they use this system.

It may not be useful but its just a project for me. :)
Sign in to follow this  

1 Comment

Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!