Jump to content
Sign in to follow this  
  • entries
    223
  • comments
    165
  • views
    79669

First Impressions

Sign in to follow this  
Stephen R

103 views

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  


0 Comments


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.

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!