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

First Impressions

Sign in to follow this  
Stephen R


The server is going pretty well. I'm moving fairly slowly because I'm constantly having to look up the API docs but appart from that everything is moving along nicely.

The serversocket is operational and it listens for incomming connections. In comming connections are accepted and added to the map of clients. I've coded a class for IRC messages - which have a very simple syntax. So I can send and recieve messages. I'm currently handling the startup commands from the client NICK, USER, MODE and USERHOST. At the moment I have a simple if, else if block for sorting the messages through to the correct functions. I'm going to replace that tomorrow with a hashtable of command names and command objects - which should hopefully make the code cleaner and more efficient when I'm dealing with many more commands.

So basically my server allows clients to connect to it and respondes to most of the startup commands. I'll tidy up what I have so far tomorrow and then add support for the rest of the user managemnt commands.
Sign in to follow this  


Recommended Comments

There are no comments to display.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!