Register for your free account! | Forgot your password?

You last visited: Today at 08:46

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

Advertisement



Help with my proxy.

Discussion on Help with my proxy. within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
TomasLT's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 286
Received Thanks: 38
Help with my proxy.

1 question!
When i get packets ofc i need to store them somewhere. So how to know what size buffer i need to create ? Its in C++
TomasLT is offline  
Old 11/05/2010, 21:58   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
What most systems use is a large buffer which you use to accept the incoming data and then transfer it over to a new buffer for processing based on the actual size of packet received.

So your socket system might have a main buffer of... say 10,000 or 50,000 bytes (just an example) which you use for receiving data. Once that is done you could create a new byte array using the information on what has ACTUALLY been received, process that packet and then clear the original buffer.

I'm positive there are better methods out there but that's what most I've seen use.
pro4never is offline  
Reply


Similar Threads Similar Threads
[FRAGE] WAS IST PROXY WAS MACHT MAN DAMIT ? [PROXY]
11/12/2010 - Main - 7 Replies
Hallo Com! , Ich habe das Wort Proxy schon oftr gehört , aber immernoch nicht verstanden was das ist und was man damit macht. Jemand meinte das wäre so was Anonymes ... Also bitte ich hier um eine gute Erklärung ;) Danke!
Proxy geht nicht/Proxy doesn´t work
08/10/2010 - Metin2 Private Server - 0 Replies
Folgendes Problem: Squid ist installiert. Startet anscheinend nicht richtig, funktioniert einfach nicht. Die Meldung welche kommt, wenn man startet: 2010/08/10 17:02:26| Starting Squid Cache version 2.7.STABLE9 for i386-portbld-freebsd7.1... 2010/08/10 17:02:26| Process ID 1952 2010/08/10 17:02:26| With 11095 file descriptors available 2010/08/10 17:02:26| Using kqueue for the IO loop
Wer will ne Proxy ? Ja genau du willst ne Proxy xD !
07/23/2010 - Metin2 Private Server - 11 Replies
Moin, Wer hat einen Root-Server und will eine Proxy ? Proxy: Proxy ermöglicht dir deine IP zu ändern die dan auch die selbe bleibt. Dadurch hast du auf einem DynDNS oder Root-Server 24/7 GM-Rechte..... Ich hab nen Install script das ich den auch Pub machen werde Aber davor testen möchte.
4326 PROXY FIX Post All Proxy Fixes Here
11/26/2006 - CO2 Exploits, Hacks & Tools - 22 Replies
post only the fixes for proxy here plz dont post original file. NO QUESTIONS PLZ. DONT ASK FOR ORIGINAL QOPROXY. just search and hope u dont get the keylogged version :P Fix for patch4326 (not really an intentional patch for proxy. required little editing ;)) replace old ini in qoproxy folder with this one



All times are GMT +1. The time now is 08:46.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.