I want to send any kind of frame or message from my PC via a local WiFi network, to my XBEE S6B module. The application will not have internet access, so I can not use the cloud.
for your application see the below link:
http://ftp1.digi.com/support/documentation/doc_xbee_wifi_adhoc.pdf