Original Post
Over the past couple of days I have been designing the networking section of my strategy engine, I have used TSock and TWSocket before and decided to speed test them using a testbed. And I was appauled by the results, which I hasten to say are frequent on mine and two of my friends'' Win98 boxes. Results are as follows..
TSock:
UDP:31ms TCP:40ms
TWSocket:
UDP:52ms TCP:57ms
That.. by any stretch of the imagination(drug/alcohol induced or not).. them results suck.. hugely. I also have to add that TSock UDP support is dreadful, the Open command does nothing by means of setting the listen port. And as for TWSocket, I''ve been using this component for sometime, wondering why things were going slow, optimizing the wrong part of the code(my fault, I should have profiled, but I was young
). So my question is, what components is everybody else using for networking? Or.. has anybody started writing their own networking class and how are they finding it? I''m also not intending to use DirectPlay for my socket connections on the grounds that I just won''t
It seems annoying that I might have to write my own winsock wrapper for TCP and UDP.. but it looks like that might be the way I''ll have to go, putting my game on hold for the meantime.