Solved

Socket Timeouts

Posted on 2000-02-15
2
278 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now