How can a html file be used to send data to XBee S6B over wifi?

I was wondering if I could use a web based html file to send data to an XBee S6B over WiFi. I found this robot control html file that I was trying to use. Browserbot

I have been using Hyperterminal to connect to the XBee and send commands. To connect to Hyperterminal, it asks for IP and port number (9750), where as the html file only asks for IP. Does the html file I am trying to use have to include the port number?

I don’t know much about wifi or html, so if anyone has any references or ideas that would help out, I would greatly appreciate it. Thanks.

I believe there is a way to do it but you are going to need to check with either an HTML news group or book on how to do that.