Urgent:WiFi issue

In my project,i want to run rabbit board rcm5600w as wifi device. i also develop an app on iphone when i m trying to ping from iPhone(stimulator on mac) it receives on rabbit board by ad_hoc network but i am unable to ping to iphone from rabbit board???
Anyone know how to run wifi in rabbit board.

Got error in both functions
(tcp_open(&socket:port,0,0,NULL)) unable to open in dynamic C.
(tcp_listen(&socket:port,0,0,NULL))

thanks in advance

Have you looked at this document, where it shows you how to setup the Wifi example from you pc, starts page 61

http://ftp1.digi.com/support/documentation/019-0174_F.pdf

Hello, you need to define some configurations in your application. More more inforamtion on this, if you are using Dynamic C 10.70 ,open the tcp_config.lib file from the below path
C:\DCRABBIT_10.70\Lib\Rabbit4000 cpip
and check the section :Wi-Fi Configuration ,for different modes like Infrastructure,Ad-hoc…