Well, I think the best thing to do is find out what people have done WRT a Linux driver for the WIFI dongle you are interested in. In the case of the VIA vnt6656 I found this:http://cateee.net/lkddb/web-lkddb/VT6656.html
Unfortunately, I see this:
This is a vendor-written driver for VIA VT6656.
...on that page. Without getting deep into this, I'm guessing, if the vendor wrote the Linux driver, then some or all of the software is proprietary. Which may make it difficult to port to a non-Linux OS.
I am not sure how most (or all) WIFI dongles work. Many cell phone dongles are easy to use as they (most?) use the same (similar?) AT command set.
I am fairly sure that the Microchip WIFI solution / development-kit (which physically looks very similar) puts the TCP/IP stack in the PIC processor. So the behavior you are suggesting is different from that of the hardware I have worked with.
Maybe someone else knows more and can help out.