Screw IOCP

posted in DruinkJournal
Published June 07, 2006
Advertisement
Ok, IO Completion ports are driving me batshit insane. I'm going to give up and fall back to a slightly more sane method.

I'll use a bunch of events, and get notification for the sockets. Then I'll have a few worker threads running and handling events. I don't know if that'll work, but it has to be easier than IOCP and probably quite close to as efficient. If it starts to become a problem, I can look at IOCP again later on. This is the second time I've got a pretty much completely implemented IOCP socket class, and had to give up. I'm sure there's something I'm missing.

At the moment, I just want to get the socket code done so I can work on the rest of TEH MMORPG!!1 (I'm calling it a MMORPG, even if it's just a MORPG).


I realised something slightly annoying about setting up my laptop to do coding on the train last night: How do I sync files? I'll have to remember to do it in the morning, and when I get home. It shouldn't be too bad actually, I only tend to do my own coding for part of my lunch break and on the train (soon) during the week. So in theory I could leave files checked out for 5 days, although I'd rather not (The more often I commit, the more versions I have to go back and check on).
Next Entry *scream*
0 likes 4 comments

Comments

Ravuya
With my Powerbook, whenever I plug it into my home LAN, iSync starts up and syncs my code directory with my backup machine.

Too bad you don't own a Mac. [wink]

You could also just store all your code for home use on a 250GB OneTouch drive, and set up the button to launch a script to back up your code. That's what I do for backup; I just plug the drive into my laptop, hit the button, plug it into my desktop, hit the button and my code is all nice and backed up.
June 07, 2006 03:33 PM
Toolmaker
You could just use SVN and AnkhSVN plugin for MSVC. Should work fine.

Or, just synchronise your laptop with your desktop/server machine, there's a built-in tool for Windows to do that. Alternatively, you could write a script you start manually to check-in and check-out your code from you development machine.

However, I prefer using SVN, since it's simple as hell. Tho, you'd be best off only committing versions that build, since that doesn't mess up your commit cycle(Imagine having you try and roll-back 5 versions until you have a version that finally builds...)

Toolmaker
June 07, 2006 03:51 PM
ukdm
I'd just work off of a memory stick myself and backup to my machine at home...
June 08, 2006 01:49 AM
Evil Steve
I'm using Perforce at the moment (Because it's what we use at work and it's really nice). I think I'll just sync every few days before work (or the evening after). As I said, I'll be doing almost all of my development on my laptop (Except for the ocasional weekend).
June 08, 2006 03:39 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement