Hello, Daniel!
D> How do i set a socket to wait for a reply after a set time frame? For
D> example the following scenarios:
D> 1) Give a user 10 seconds to respond after which time send an automatic
D> message to the server from the client to do a default action
D> 2) set a time limit to give the server time to respond before continuing
Does user interact via graphical user interface (GUI)? If so you can consider timed actions on the GUI level.
You can use System.Windows.Forms.Timer for the purpose of timed events...
OTOH you can use System.Threading.Timer if you want the timed event to be executed on the level of network I/O
--
Regards, Vadym Stetsyak
www:
http://vadmyst.blogspot.com