Results 1 to 2 of 2
-
20-07-2012, 16:57 #1
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 10
better performance for ServerQuery
TeamSpeak3::factory() takes 1 second and I need a very fast way to test if the server is online. Is there a faster alternative? I checked the mysql database and there's nothing in there to indicate if the server is online. I also checked the teamspeak root directory and there's nothing in there either.
Thank you.
-
20-07-2012, 17:02 #2
-= TeamSpeak Fanatic =-
- Join Date
- Jul 2006
- Posts
- 1,573
You can use php's fsockopen() and stream functions (fgets, fputs) directly.
Or a loop which checks, say, every 10 seconds for online status and saves the current state to have it "cached" on the next call.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
requirements and performance
By a*nonymous in forum Linux / FreeBSDReplies: 2Last Post: 11-02-2010, 12:55 -
Performance
By remopini in forum Linux / FreeBSDReplies: 3Last Post: 22-12-2009, 19:44 -
TS2 & UT2003 performance
By Lunatic in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 17-12-2002, 01:15


Reply With Quote