Re: Using Sockets
- From: "Michael K. O'Neill" <mikeathon2000@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 4 May 2005 09:35:20 -0700
"Chris Baker" <ChrisBaker@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:76CCDB8F-5351-4DC6-8CF8-2698517C7B88@xxxxxxxxxxxxxxxx
> Cheers Michael,
>
> One more thing......Can I specify a timeout value for the send and connect
> commands?
>
> Chris
>
>
No. For that you need to derive a class from CSocket and override the
virtual OnMessagePending function. See "How To Configure a Time-Out on a
CSocket Operation" at http://support.microsoft.com/kb/q138692/ . Also, do a
Google search for "CTimeoutSocket"
Mike
.
- References:
- Using Sockets
- From: Chris Baker
- Re: Using Sockets
- From: Michael K. O'Neill
- Re: Using Sockets
- From: Chris Baker
- Using Sockets
- Prev by Date: Re: Stack, Heap, Mfc
- Next by Date: Re: How to enumerate system tray (task bar) icon and description?
- Previous by thread: Re: Using Sockets
- Next by thread: Shell Extension and XP Theme
- Index(es):
Relevant Pages
|