set socket.sendtimeout
-
Hi, In my application i am using threads and socket programming to ping a mobile application I want to set the timeout value for the Socket.send message for this i have used socket.sendtimeout= value; but the same socket is used for asynchronous communication ....so as i have set the socket.sendtimeout value its effecting the asynchronous communication.. My aim is to Set the Timeout value only for the pinging message such that communication must not get effected,,,,( I want to set the timeout period for a particular Ping 'send' only ....) If any one knows this then Please Do Let Me Know
its me sid
-
Hi, In my application i am using threads and socket programming to ping a mobile application I want to set the timeout value for the Socket.send message for this i have used socket.sendtimeout= value; but the same socket is used for asynchronous communication ....so as i have set the socket.sendtimeout value its effecting the asynchronous communication.. My aim is to Set the Timeout value only for the pinging message such that communication must not get effected,,,,( I want to set the timeout period for a particular Ping 'send' only ....) If any one knows this then Please Do Let Me Know
its me sid
Hi, FYI: you can perfcrm a ping to an IP address using the Ping Class, which exists in .NET since 2.0; not in CF, so it would have to be the mobile that is being pinged. :)
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.