Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Coding Releases
You last visited: Today at 03:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C#] Socket Library

Discussion on [C#] Socket Library within the Coding Releases forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
[C#] Socket Library

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:



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!
Basser is offline  
Thanks
2 Users
Old 03/28/2010, 19:44   #2
 
Noisuf-X's Avatar
 
elite*gold: 38
Join Date: Dec 2008
Posts: 1,339
Received Thanks: 462
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?
Noisuf-X is offline  
Old 03/28/2010, 19:54   #3


 
Cholik's Avatar
 
elite*gold: 4
Join Date: Aug 2008
Posts: 6,786
Received Thanks: 4,992
#moved
Cholik is offline  
Reply




All times are GMT +2. The time now is 03:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.