Make games that sell.
KWeb
KWeb :

#include "KWeb.h"


Windows: requires WinInet.lib
Quick Reference

callURL
getBufferSize

char* callURL( char *urlStr , bool asynchronousFlags ) ;
call this function to call a url.
The asynchronous flag is currently unused.
Returns NULL if nothing was received or an error occured.

example:
KWeb *webRequest ;
webRequest = new KWeb ;
char *dataReceived = webRequest->callURL( "http://www.phelios.com" , false ) ;
KMiscTools::messageBox( dataReceived , "Display the html" ) ;
delete webRequest ;


unsigned long getBufferSize( void )
retrieves the size of the received data.



© 2003-2005, Phelios, inc. - All rights reserved.
Trademarks mentioned are the property of their respective owners.