[C#] Socket Library

03/28/2010 18:42 Basser#1
Release Notes:
This SocketLibrary (.dll) can be used for any purposes. From something big like a complete MMORPG, to something as small as a chat.
I do not really care a bout you giving me credits for this release, but it would be nice if you did.
You do not have to believe I made this, if you can prove I didn't create this, please show me.
As far as I know, I did create this, didn't take me more than 10 minutes.


Version(s):
0.1 - The first release, not many extras yet, just a basic, but all right library to set up a socket system.

Downloads:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Virus scan:
I don't think a virus scan will be necessary for the .DLL, since you save it as a .DLL, it won't excecute itself.
I don't think a virus scan will be necessary for the .RAR, since you can see the contents before extracting it. And guess what! No executables inside.

Contents of the Library:
A basic Socket system.
- It will listen to a certain port, and receive data from it.
- It will not handle the data yet, because you need to add that part, I cannot know what encryption/decryption you need, nor can I know what the packet processor should do.
- It can send packets back to the persons connected to it. (No encryption added of course.)
- It is very easy to create this into a nice, complete socket system.
- It will pretty much describe all mistakes I ever received with it.

How to use it?
Simply make a new thread Enabling the Socket Sys.
Code:
SocketSys _socketsys = new SocketSys(*Arguments);
new Thread(_socketsys.Enable).Start();
this code snippet should explain how to use this library.

Feedback?
Please tell me when you need help, when you want me to add a feature, or when you want to add a feature yourself!
I would also like to know what you guys think could be better, what you like, and whatsoever!
03/28/2010 19:44 Noisuf-X#2
Question:

Why you make all properties private and read only?

You must ever creat a new object if ou want the change to properties.
{ get; set; } and event, or in the set of the socket a reconnect?
03/28/2010 19:54 Cholik#3
#moved