overlapped-io
Why would an Overlapped call to recv return ERROR_NO_MORE_ITEMS(259)?
I did a few tests with an I/O-Completion port and winsock sockets. I encountered, that sometimes after I received data from a connection and then adjacently call WSARecv again on that socket it return[详细]
2023-04-09 08:21 分类:问答Winsock: Overlapped AcceptEx indicates a new connection while no client connecting
In my program I am using the overlapped version of AcceptEx() to accept new connections. After a new connection has been accepted, the programm initiates another overlapped call to AcceptEx() for acce[详细]
2023-04-03 11:27 分类:问答Writing synchronously to a file opened with FILE_FLAG_OVERLAPPED
I have opened a file using HANDLE handle= CreateFileW( fileName, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING,[详细]
2023-03-19 10:20 分类:问答Winsock2 data loss when in debugger
i am using Winsock2 in conjunction with overlapped I/O. This means i am calling WSARecv with a WSAOVERLAPPED structure and later i wait with WSAWaitForMultipleEvents for data.[详细]
2023-03-12 05:16 分类:问答Error handling in overlapped socket IO
Can anyone please suggest a reliable way to handle system errors in case of using overlapped socket IO and IOCP?[详细]
2023-03-06 01:02 分类:问答Asynchronous NtQueryDirectoryFile?
Has anyone managed to figure out how asynchronous calls to NtQueryDirectoryFile work? By an asynchronous call, I mean calling NtQueryDirectoryFile on directories not开发者_如何学JAVA opened with FILE[详细]
2023-02-16 21:20 分类:问答What sort of things can cause a whole system to appear to hang for 100s-1000s of milliseconds?
I am working on a Windows game and while rendering, some computers will experience intermittent pauses (\"hitches\" for lack of a better term). When profiled they appear in seemingly random places in[详细]
2023-02-04 01:22 分类:问答Application Not Receiving Serial Data from COM Port - C++
My application is not properly receiving data from the COM port.This used to work.I don\'t know what happened.I know that the proper data is being sent/received over the line because I can see it on m[详细]
2023-02-03 18:25 分类:问答AcceptEx returns 1022 (WSAEINVAL)... What did I do wrong?
I am trying to code a small test-server for completion ports. But when I try to call Accept开发者_如何学GoEx... it always returns WSAEINVAL as the winsock error code...[详细]
2023-01-28 11:31 分类:问答Is it normal for WSASend to fail during big file transfers?
I need a little help if someone\'s got a minute. I\'ve written a web server using IO completion ports, but I am having some trouble sending out large files. Web pages seem to load fine, but during lar[详细]
2023-01-16 11:33 分类:问答