Quote:
Originally Posted by taylor2846
ok im making my own server here and stuff but any way hybirds socketnetwork.dll
what do you all thank about it?
im thanking about using it on my server because its easy but does it work good?
please reply and tell me why.
btw im working with 5017 Client.
and can you all give me some advise on the packet handling system as well thanks.

|
My original hellmouth source was written using hybrid's nativeinterop dll. Shouldn't be an issue on 5017 but there are a few native calls that will fuck up because it's trying to load dlls twice or something (never looked into it, I just know it was hella annoying so I switched, then later I reflected his dll and made my own with the memcpy calls switched to Buffer.BlockCopy).
As said, writing your own socket system would be IDEAL but keep in mind you will want to do a large amount of debugging and stress testing on your sockets. You can write a BASIC socket system *cough* sync anyone? *cough* super easy but if you try to pile an entire functional server ontop of that base it will topple over and you'll be back where you started.
What people so often fail to consider is that when dealing with writing or using a source, it's value is determine by the importance of stability and efficiency in it's various components.
Obviously the ideal solution would be flawless efficiency and stability in all areas of the server but lets face it... that will NOT be the end result (look at even professional products. It's quite often that these things are sacrificed or forgotten in favor of production time or saving money at some point). The point here is keep these things in mind as you develop your source.
Handy graphics I decided to whip up.