View Full Version : Connecting to lfsw
Falcon1
31st May 2006, 10:10
Hi, is it possible to connect to lfsw from an app that I created and check if a player is racing and, if yes, in which host?
Thanks
the_angry_angel
31st May 2006, 11:04
Yes, using the spec in this thread: http://www.lfsforum.net/showthread.php?t=183
Falcon1
31st May 2006, 11:26
Nice one, thanks :D
but how can I implement this in .exe file (i know c++/delphi/java)?
the_angry_angel
31st May 2006, 11:46
Using sockets and implementing the HTTP protocol, is the manual way. There are usually libraries for those languages, which already implement it; cURL for C / C++, HTTPClient for Java, etc.
Basically all you do is connect to the URL, drag down the contents and then parse it. In terms of C / C++ you can do the parsing using strtok, or using memcpy to copy the raw data into structures.
I have been working on a C / C++ library in the past, but its in a perpetual state of being fixed.
Falcon1
31st May 2006, 12:19
thanx!
i'll try it
Hi, is it possible to connect to lfsw from an app that I created and check if a player is racing and, if yes, in which host?
Thankswhats wrong with Mates@Track?
Falcon1
5th June 2006, 10:14
I want to create an app with other features, such as changing the personal message of msn messenger with the name of the host
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.