Recently I have been working on a sever system and network engine. Well for the last 3 days I have been fighting a bug while setting things up to receive multiple packets at once. The code looked great but for some reason anytime I received more then 1 message it would corrupt the msg's and/or crash my program. I changed all the code around and messed with it and kept fighting it. Then this morning I just happened to look a the debug output of the test client and noticed a 0 that shouldn't be there. Turns out only my first test MSG was getting its length set properly and so on the server side it read the wrong part of the receive buffer. So I looked for 3 days almost in the wrong spot. The good thing about this is it has taught me to keep a broad thought process when you have a ugly bug because it could be caused elsewhere. So time to finally move forward and not make that mistake again.
Previous Entry
Moving forward
Next Entry
Unity
Advertisement
Latest Entries
In a time for math!
1384 views
A "finished" game!
1312 views
Moving forward
1620 views
Did I just get played?
2464 views
Pay attention to your math!
2086 views
The struggle continues.
1555 views
SWTOR, work, and programming.
1333 views
Life moves on.
1313 views
YES!
1186 views
Made it past the programming test
1769 views
Advertisement