Register for your free account! | Forgot your password?

You last visited: Today at 14:00

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

 

just a winsock server

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Jul 2006
Posts: 1,919
Received Thanks: 661
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   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 782
Bro this gets me more high than weed.


I don't have a username is offline  
Old   #3
 
elite*gold: 20
Join Date: Jul 2006
Posts: 1,919
Received Thanks: 661
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   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 782
Will look up on that broski :P
I don't have a username is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[TUT]Winsock & VB.NET
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....
0 Replies - Coding Tutorials
Winsock Error
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...
4 Replies - Flyff PServer - Discussions / Questions
[C++] Winsock + Select
I solved this Problem adding a "continue;" at if(FD_ISSET(aSocket, &fdSet)) { AddSocket(accept(aSocket, NULL, NULL)); continue; }
13 Replies - C/C++
winsock in vb.net?
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...
4 Replies - CO2 Main - Discussions / Questions
vb6 winsock tutorial
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...
2 Replies - .NET Languages



All times are GMT +1. The time now is 14:00.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.