Raised This Month: $ Target: $400
 0% 

Sockets lag my Server !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ÜnLoCo
Member
Join Date: Dec 2009
Location: 35.77N, 10.82E
Old 06-04-2010 , 13:22   Sockets lag my Server !
Reply With Quote #1

Hello
i mean this is obviously expected that sockets lags the server !
but have you an idea of a better way like a new socket type :S or something !
can we make it slow ! or low-priority !!
who knows ?

PHP Code:
public getPlayerDetails(id,fbacc[])
{
    new 
Error;
    
g_Socket socket_open("graph.facebook.com",80,SOCKET_TCP,Error);
    new 
Data1[512];
    
formatex(Data1,511,"GET /%s/ HTTP/1.1^r^nHost:graph.facebook.com^r^nConnection: close^r^n^r^n",fbacc);
    
socket_send(g_Socket,Data1,511);
    ........

__________________

Last edited by ÜnLoCo; 06-04-2010 at 13:24.
ÜnLoCo is offline
Reply


Thread Tools
Display Modes

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 05:20.


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