Web Requests in Desktop Apps?


I understand that the “Handle Special URL” event (in Web Apps) is used to handle Web requests which is useful in developing Web Services.
Is there a way to handle Web Requests in Desktop Apps too? ( My goal is to build a desktop app middleware that acts like a database web service )

Thanks in Advance.

This should do : http://documentation.xojo.com/index.php/Serversocket

Or http://documentation.xojo.com/index.php/IPCSocket

Thanks, will look into this.