Wip_write() returned time out error


#1

hi all,

i’m facing a bit of a problem here. i’m doing a research to communicate between 2 modem using Fastrack SUpreme 20. I have successfully write the data “this is a test data” to the remote server with IP address 12.15.7.214. i assume the my sending process was succeeded because the WIP_CEV_WRITE event has been triggered. and after i check the return value of the wip_write() command, the result is 19 (because the size of the sent data was 19). and i’ve tried to send the data to yahoo.com or other live server. and all was returned with the same result.

but when i tried to send the data to my other connected to GPRS modem, the result is WIP_CEV_ERROR, the error is timeout error. my modem act as the client side. and the other modem act as the server side. i’ve a channel in the server modem using wip_TCPServerSocket (3000,ClientSocketHandler,NULL).

FYI : my application has been successfully ping into the server modem. the returned result when i ping the server modem was :
at+ping =“10.35.180.92”
OK
[WIP] new PING 0x180c6ad8
[WIPEV] WIP_CEV_OPEN @ PING 0x180c6ad8

this is inside the PingHandler
IP address -> 10.35.120.199
[WIPEV] WIP_CEV_PING @ PING 0x180c6ad8 (seq=0, time=0ms, timeout=true)

this is inside the PingHandler
[WIPEV] WIP_CEV_PING @ PING 0x180c6ad8 (seq=1, time=0ms, timeout=true)

this is inside the PingHandler
[WIPEV] WIP_CEV_PING @ PING 0x180c6ad8 (seq=2, time=0ms, timeout=true)

this is inside the PingHandler
[WIPEV] WIP_CEV_PING @ PING 0x180c6ad8 (seq=3, time=0ms, timeout=true)

this is inside the PingHandler
[WIPEV] WIP_CEV_PEER_CLOSE @ PING 0x180c6ad8

could somebody give a light here… thank you a lot before.

regards,
Edy2