我的投递代码是下面这样的function TIOCPServer.PostRead(SocketInfo: TSocket): boolean;var byteRecv, Flags, ErrCode: DWORD; HandleData: PPerHandleData;begin Flags := 0; New(HandleData); FillChar(HandleData.Overlapped, Sizeof(Overlapped), 0); FillChar(HandleData.Buffer, BUFFER_SIZE, 0); HandleData.wsaBuffer.buf := HandleData.Buffer; HandleData.wsaBuffer.len := BUFFER_SIZE; HandleData.Statu := ssRecv; HandleData.Socket := SocketInfo; Result := (WSARecv(SocketInfo, @(HandleData.wsaBuffer), 1, byteRecv, Flags, @HandleData.Overlapped, nil) <> SOCKET_ERROR); if (Result = False) then begin ErrCode := WSAGetLastError; Result := ErrCode = ERROR_IO_PENDING; end;end;