WSARecv not calling CompletionRoutine on socket close

Geoff K. Hart ghart at
Tue Nov 2 15:57:18 CST 2004

I've tried to search the mailing list archives (is their
a searchable archive someplace?) for some reference to this
problem. but found none.  Forgive me if I didn't search
hard enough.

The Problem:

we register a callback (lpCompletionRoutine) in our WSARecv
call.  This callback works fine for normal incoming messages.
However, on socketclose, it does NOT get called.

This behavior doesn't match what we see on Windows.

Is there some configuration option we are missing?

We see this same behavior for .exe's built on Windows and
run under Wine - and with source code brought to Linux and
built with WineLib.


More information about the wine-devel mailing list