Network connection Problem with wifi model XBEES6B


I m using above Model foe wifi connectivity. For testing purpose i m using doc_xbee_wifi_adhoc.pdf.I m able to create one temopry network.

The following things I have done for Configure Computer for Ad hoc and setup TCP Socket server

I can see the network when i do the active scan for this network But when i select that network nd try to connect it it show this kind of error message “ Error connecting to access point > timeout waiting to connect to selected access point”

With this error message I m continue with the procedure given in pdf. At the end I m unable to set MY and MK.

Same problem I m facing with Configure XBee Wifi module for Infrastructure and Serial bridge , unable to connect active scan network.
Please help me for this as early as possible.
Waiting for your valuable reply.
Thanking you

Could it simple be that the device you are using as your Access point does not support AdHoc mode? Try using Infrastructure mode instead.