Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 14:54

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

Advertisement



just a winsock server

Discussion on just a winsock server within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
just a winsock server

This is an ancient winsock server, based mainly on the C++ HybridCO source (which was a great C++ reference for me). If you change the winsock part to BSD sockets (follow Beej`s guide on BSD sockets, and it won`t be hard at all, I promise) it will work on Linux based systems as well. Don`t know if anyone could use this, since those of you who don`t know C++ won`t use it, those of you who do can do this by themselves. So yeah.

The ThreadSafeVector.h contains only a class which wraps the std::vector functions using boost mutexes to ensure thread safety. Won`t post that, if you can`t do this, use a regular std::vector instead. If you can`t use std::vector then get a new hobby.


KraHen is offline  
Thanks
3 Users
Old 05/03/2012, 11:39   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Bro this gets me more high than weed.
I don't have a username is offline  
Old 05/03/2012, 11:41   #3


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
It`s 90% Hybrid`s work, I just converted it long ago because I was developing for Linux.

This isn`t really effective btw, on Windows you should always use IOCP.
KraHen is offline  
Thanks
1 User
Old 05/03/2012, 12:22   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Will look up on that broski :P
I don't have a username is offline  
Reply


Similar Threads Similar Threads
[TUT]Winsock & VB.NET
11/21/2011 - Coding Tutorials - 0 Replies
Ich hab eben mal die sufu benutzt und bemerkt das viele Leute noch probleme mit winsock haben seti vb.NET da dies eigentlic hdafür abgeschafft wurde. So geht es aber tortzdem (1 CLIENT NUR!) Als erstes machen wir eine Winsock oberfläche auf die neue Form, wer kein winsock komponente hat macht dies mswinsock.ocx downloaden 32 BIT -> kopiert die mswinsock.ocx nach C:/Windows/System32/ dann cmd als ADMIN AUSFÜHREN! und regsvr32 mswinsck.ocx, oder wie ihr sie genannt habt eingeben. VS,...
Winsock Error
08/17/2011 - Flyff Private Server - 4 Replies
Hey, ich möchte mal fragen ob jemand mir mit dem Problem mit Infiltration helfen kann. Ich habe das Problem dass wenn ich auf Brutforce CRC Key klicke, und er angeblich auch einen gefunden hat klicke ich auf Create Item. Warte... und bekomme eine Fehler meldung undzwar: Winsock error: 10038 *Bild ist unten* Ausserdem bewegen sich die Monster nicht mehr. Den FAQ habe ich auch gelesen, andere habe das selbe Problem wurden aber nicht geklärt. Danke für die hilfe im Vorraus. Ausserdem...
[C++] Winsock + Select
12/03/2009 - C/C++ - 13 Replies
I solved this Problem adding a "continue;" at if(FD_ISSET(aSocket, &fdSet)) { AddSocket(accept(aSocket, NULL, NULL)); continue; }
winsock in vb.net?
12/29/2007 - Conquer Online 2 - 4 Replies
anyone know how to get winsock into vb.net?ive been googleing for an answer and cant findone. i downloaded oswinsock and still not sure how to use it?? Ive been using vb6 for a while and am using vb 2005 for the first time and this is pissing me off.i read i should use systemcom.net or somthing? just anyone know how i can use winsock in vb.net or explain what i need to do,before i give up on this .net framework and stick with my trusty vb6 if anyone has a simple source proxy in...
vb6 winsock tutorial
10/24/2006 - .NET Languages - 2 Replies
Ich weiß, vb6 ist aaaaaaaalllt und 2005 ist sooooo besser (kann ich auch gleich zu C# gehen), aber fürs erste will ich das noch probieren. Okay, ich suche ein Winsock tutorial was allerdings direkt HEX packets schickt/verarbeitet und nicht im ASCII format, ich hab zwar ein paar Beispiel sources, allerdings versteh ich nicht so recht wie ich das machen soll. Also ne TCP verbindung.



All times are GMT +2. The time now is 14:54.


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.