Solved

Socket Timeouts

Posted on 2000-02-15
2
313 Views
Last Modified: 2013-11-20
How do I customize the timeout values for connection, receiving and sending using MFC's CSocket class ?. Can any one help me with a sample code?.
0
Comment
Question by:Sanjeev070898
2 Comments
 
LVL 1

Accepted Solution

by:
ScottyDawg earned 50 total points
ID: 2526373
As the socket call is blocking, you will need to set up a timer which will notify you if the operation has taken to long.

MSDN have a good article on this see Article ID: Q138692
0
 

Author Comment

by:Sanjeev070898
ID: 2526396
Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question