PC Review


Reply
Thread Tools Rate Thread

How to track down an error code. GetLastError() == 64

 
 
Gordon Scott
Guest
Posts: n/a
 
      14th Apr 2004
Hi all,

Still working on my IOCP code, now I am getting everything zooming along up
to a certain point where CreateIoCompletionPort returns an error

GetLastError() == 64. Once this happens, ALL calls to ciop fail.
Something must be happening to cause the completion port to crash or stop
working.

Question is, For these obviously non-winsock error codes, how do I track
down what this error responds to. I see nothing in WINERROR.h that
corresponds to this...


 
Reply With Quote
 
 
 
 
Gordon Scott
Guest
Posts: n/a
 
      15th Apr 2004
A little more digging..

FormatMessage() returns "The specified network name is no longer
available" for error code 64.

My server is using IOCP to send roughly 1K of data to 1K simultaneous
sockets every 2 seconds.

any ideas of the cause?

"Gordon Scott" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> Still working on my IOCP code, now I am getting everything zooming along

up
> to a certain point where CreateIoCompletionPort returns an error
>
> GetLastError() == 64. Once this happens, ALL calls to ciop fail.
> Something must be happening to cause the completion port to crash or stop
> working.
>
> Question is, For these obviously non-winsock error codes, how do I track
> down what this error responds to. I see nothing in WINERROR.h that
> corresponds to this...
>
>



 
Reply With Quote
 
John Phillips
Guest
Posts: n/a
 
      15th Apr 2004
You can't find it in WinError.h? In the version I have, it's on line 560...

At any rate, you can use FormatMessage() as you've done, but if you need
just a quick lookup, check out MSDN:
http://msdn.microsoft.com/library/de...rror_codes.asp


--
John Phillips
MVP - Windows SDK



"Gordon Scott" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> Still working on my IOCP code, now I am getting everything zooming along

up
> to a certain point where CreateIoCompletionPort returns an error
>
> GetLastError() == 64. Once this happens, ALL calls to ciop fail.
> Something must be happening to cause the completion port to crash or stop
> working.
>
> Question is, For these obviously non-winsock error codes, how do I track
> down what this error responds to. I see nothing in WINERROR.h that
> corresponds to this...
>
>



 
Reply With Quote
 
Gordon Scott
Guest
Posts: n/a
 
      15th Apr 2004
DOH, now I feel dumb..

I was looking for the hex value 40


Regardless, any idea what could cause this error?

"John Phillips" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You can't find it in WinError.h? In the version I have, it's on line

560...
>
> At any rate, you can use FormatMessage() as you've done, but if you need
> just a quick lookup, check out MSDN:
>

http://msdn.microsoft.com/library/de...rror_codes.asp
>
>
> --
> John Phillips
> MVP - Windows SDK
>
>
>
> "Gordon Scott" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi all,
> >
> > Still working on my IOCP code, now I am getting everything zooming along

> up
> > to a certain point where CreateIoCompletionPort returns an error
> >
> > GetLastError() == 64. Once this happens, ALL calls to ciop fail.
> > Something must be happening to cause the completion port to crash or

stop
> > working.
> >
> > Question is, For these obviously non-winsock error codes, how do I

track
> > down what this error responds to. I see nothing in WINERROR.h that
> > corresponds to this...
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom error page does not work (Server.GetLastError() is null) Seguros Catatumbo Microsoft ASP .NET 2 13th Sep 2007 07:52 PM
keep track of last code line before error RB Smissaert Microsoft Excel Programming 11 21st Jan 2006 02:28 AM
Issue with GetLastError() in Passing Application_Error to Custom Error Page robertlair@gmail.com Microsoft ASP .NET 1 10th Oct 2005 03:26 PM
How to obtain error statusCode form Server.GetLastError()? ad Microsoft C# .NET 3 24th Sep 2005 03:23 AM
GetLastError fails to get error =?Utf-8?B?U2lsdmVybGluZURlc2lnbg==?= Microsoft Dot NET 1 2nd Jul 2004 12:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:31 AM.