Register for your free account! | Forgot your password?

You last visited: Today at 00:49

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

Advertisement



[RELEASE] Basic SocketLibrary

Discussion on [RELEASE] Basic SocketLibrary within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
[RELEASE] Basic SocketLibrary

Also part of my dump on this forum, I hope someone can use this for mainly learn purposes.


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.

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

Downloads:



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!

And as always, thanks are appreciated.
Basser is offline  
Old 05/06/2010, 11:16   #2
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Creating a THREAD instance to start a socket? Please explain that.
ImmuneOne is offline  
Old 05/06/2010, 11:18   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
Double thread?
Arcо is offline  
Old 05/06/2010, 11:26   #4
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
SOCK_STREAM doesn't go with UDP mode afair. Also a thread per client model is cumbersome, async sockets model is the way to go
Nullable is offline  
Old 05/06/2010, 11:53   #5
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by .Arco View Post
Double thread?
Oh I didn't realize that.
Basser is offline  
Old 05/06/2010, 12:04   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Duplicate Release.

Closed.
Korvacs is offline  
Closed Thread


Similar Threads Similar Threads
[Release] Basic Hax CF 11.08.10
08/25/2010 - CrossFire Hacks, Bots, Cheats & Exploits - 106 Replies
Grad auf MPGH gefunden und gestestet: Hacks: Boxes No Sky No Fog No Smoke No Light World
[Release] Basic Website
07/13/2010 - General Art - 0 Replies
This is my first html/psd website made by me, very crappy but still my first. I don't know if this is the right section anyways. Thanks. >.< You can download it down there. http://i25.tinypic.com/ejefd5.jpg
[Release] Basic Farming Macro
07/27/2009 - Dragonica Hacks, Bots, Cheats & Exploits - 94 Replies
Hey guys, here's a simple Autoit script i wrote up (my first time writing up a macro) for Dragonica. Basically all it does is hold down the 'x' key for 25 seconds and then it moves right a few steps, moves left a few steps and turns right again and repeats. The reason i set it to move is to pick up loot from monsters after it kills them. To use this bot, just stand on the LEFT side of a spawn and face RIGHT towards monsters, as they will always move directly in front of your hero before...
Creating SocketLibrary [C#]
05/29/2009 - CO2 Programming - 6 Replies
Alright in this tutorial I will show how to build a simple ServerSocket for your own use. We're going to make it in C# DLL for future, incase you wish to add it to one of your projects. First open your desired compiler. I'm using Visual Studio 2010 in this tutorial. It can be downloaded from here. It is free to download but it is only beta version at the moment so it's not final and it might have (and it does have) some bugs. However you can use one of the earlier versions or Visual Studio...
[RELEASE] Launcher (a very basic one)
06/05/2008 - General Gaming Discussion - 24 Replies



All times are GMT +2. The time now is 00:49.


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.