T
TechGladiator
I know that there is a problem with the Connected property in the
sockets in CF. I try to connect to my server app from my CF app and
even thought it is not connected it shows that it is. I know I can
use the SendMessage to send something to the server but If it doesnt
find the server it waits for about 50 secs or so. What I want to do is
implement some kind of timeout using the reg sockets class so if it
doesnt connect in say like 20 secs I can return to the app.
Is there anything I can do? is there anyway to implement timeout with
sockets
Thanks
Mike
sockets in CF. I try to connect to my server app from my CF app and
even thought it is not connected it shows that it is. I know I can
use the SendMessage to send something to the server but If it doesnt
find the server it waits for about 50 secs or so. What I want to do is
implement some kind of timeout using the reg sockets class so if it
doesnt connect in say like 20 secs I can return to the app.
Is there anything I can do? is there anyway to implement timeout with
sockets
Thanks
Mike