[C#] Simple SocketAsyncEventArgs library (for developers only!)
First of all for all the hate there's a combination on your keyboard, alt + F4 and it magically closes your browser. Cool, huh? :junglejane:
I didn't make this to get a lot of likes or reputation or cookies (although I love cookies), I just released it for C# developers here. This decreases the amount of files in your solution because this contains the whole SocketAsyncEventArgs system Wichard made (ALL credits goes to him, I just modified the system slightly so you don't need to do a million things).
How to use?
I'm not going to go fully in detail as it's really easy to setup. I added some documentation to the classes and methods to explain what everything does. If you can't use this, you shouldn't create an emulator.
I do have an example here though. As a programmer I doubt you'll have any problems understanding it.
Here's a screenshot with the code + proof it works:
http://i.imgur.com/8UFoF6j.png
I'm not going to explain everything as you can find everything out with just trying it in your project and viewing the documentation (via IntelliSense). If you want I can put the source code online as well. But most of the stuff is pretty much straight forward for a programmer.
Link to release:
http://glaceon_dev.netne.net/downloa...entArgsLib.zip
Link to documentation:
A Sandcastle Documented Class Library - Redirect
Any problems, requests, questions or anything? Just ask here.
Credits:
Wichard 95% - 'Making the code' / releasing it / whatever you know lol
Me 5% - Modifying the code and making a library out of it.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Nice, but has this something about Habbo linked?
I love Cookies, and Scoopski Potatoes!
It's a really simple library, Why not post at "Coders Paradise" ?
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Quote:
Originally Posted by
ovflowd
Nice, but has this something about Habbo linked?
I love Cookies, and Scoopski Potatoes!
It's a really simple library, Why not post at "Coders Paradise" ?
I have to agree, I don't see in any way this is related to habbo. But anyway, nice work :)
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Quote:
Originally Posted by
ovflowd
Nice, but has this something about Habbo linked?
I love Cookies, and Scoopski Potatoes!
It's a really simple library, Why not post at "Coders Paradise" ?
Hmm yeah I forgot about that bitch, I just posted here since it could be useful for Habbo developers. I currently use it in my chat system I'm developing but I tested it quickly out with Habbo SWF and it works too. I might post at the coders paradise.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
What's so special about this? Isn't this just your basic async socket class that anyone can make?
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Quote:
Originally Posted by
FullmetalPride
What's so special about this? Isn't this just your basic async socket class that anyone can make?
It's a simple library you can include in your project to reduce file amount and easy implement sockets without creating around 4/5 classes (when not stealing code online) lol besides this is SAEA not basic BeginAccept EndAccept bullshit I wrote millions of times.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Though this does belong more in the coders paradise section, hardly anyone from here actually visits any other section than Habbo, so, this being here hopefully will stick out to those who are learning and help them on their journey.
Thanks for the share!
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Quote:
Originally Posted by
Jonteh
Though this does belong more in the coders paradise section, hardly anyone from here actually visits any other section than Habbo, so, this being here hopefully will stick out to those who are learning and help them on their journey.
Thanks for the share!
I agree, I might post this in coders paradise but I'm like extremely lazy and stuff lol thanks for your comment though.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Moved to Coders' Paradise, since it's more helpful for the forum as a whole than for HH only (it's not very specific to be honest).
I'd like @TimeBomb 's and @mudkip 's opinion regarding this, and it's up to them to clear some (if they judge necessary) of the current replies.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Please note I just modified the socket system code, I did NOT make the SAEA system, I just made it easier, wanted to make that clear once again!
Also @Droppy thanks man for moving haha I was going to make a new topic of it but yeah too lazy lol. Agree it fits in here better.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
This library is actually very simple to use. Going to work up a basic application using this library, I'll reply back with feedback!
For people like myself learning C# still, this can be incredibly useful. Thanks for contributing!
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
My last post here was based on a mod action, so this post is related to the thread itself!
This one of the easiest-to-implement socket servers I've ever seen. I haven't checked it's performance just yet, but I trust the developer. I'll make sure to use it in next projects to see how it holds!
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Put it up on Github or something. cba to download a zip, unzip it, browse files manually.
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Quote:
Originally Posted by
The General
Put it up on Github or something. cba to download a zip, unzip it, browse files manually.
Cool thing is you don't have to view files haha xD Just kidding, I might make a Github later, but I'm lazy (okay lol, yeah, it literally take like less than 10 minutes of work BUT STILL >.<)
---
Here: https://github.com/ThaResources/SocketAsyncEventArgsLib
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Love it, helps me a lot on my road to fully understanding sockets :-)
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
Quote:
Originally Posted by
werrond
what is all this?
If you don't know what this is it's not for you, it's a socket library.
[C#] Simple SocketAsyncEventArgs library (for developers only!)
Re: [C#] Simple SocketAsyncEventArgs library (for developers only!)
I see some catch em all code blocks. Consider being more specific with these exception handling.