I have trouble using cin to capture the "EOT"/Ctrl_D character. My program client program stopped running after I input Ctl-D + ENTER, but it won't get back to the command line either (unless I press ctrl_c). How should we deal with this character? 
<br><br>For Ctrl_C, is it ok to let the program terminate without closing the socket etc?<br><br>Thanks a lot!<br clear="all"><br>Linda<br>