Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

Socket Timeouts

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
Sanjeev070898
Asked:
Sanjeev070898
1 Solution
 
ScottyDawgCommented:
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
 
Sanjeev070898Author Commented:
Thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now