Raised This Month: $ Target: $400
 0% 

Sockets (Getting Time)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-09-2009 , 00:15   Re: Sockets (Getting Time)
Reply With Quote #1

Quote:
Originally Posted by hlstriker View Post
Now you have a problem because you need a buffer that can read ALL the html. I've never retrieved data with AMXX sockets before so I'm not sure if you can read the data in bursts or not.
You could use a modestly sized buffer [512-1024 bytes] and re-use the space as new data comes in. Just search for a character in the buffer that you know is not a part of the search string you are looking for and chop it off there.
__________________

Last edited by Bugsy; 04-09-2009 at 01:05.
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode