; - Original Message -
> > From: "Fastream Technologies" <[EMAIL PROTECTED]>
> > To: "ICS support mailing"
> > Sent: Wednesday, November 22, 2006 9:24 AM
> > Subject: Re: [twsocket] TWSocket sync send problem within ISAPI
> >
> &
ED]
> http://www.overbyte.be
>
> - Original Message -
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Wednesday, November 22, 2006 9:24 AM
> Subject: Re: [twsocket] TWSocket sync send problem within ISAPI
>
AM
Subject: Re: [twsocket] TWSocket sync send problem within ISAPI
> Hello,
>
> Could you look at the new code below:
>
> procedure TWebConnection.ConnectionDataSentISAPI(Sender : TObject;
> Error : WORD);
> begin
> sendError := Error;
> sendComplete :=
Also, function TWebConnection.SendSync(Data: String): boolean;
is never called from the modified DXISAPI. It is just for I believe
the HEAD command. (I know Length(Data) can return wrong info.)
Best Regards,
SZ
On 11/22/06, Fastream Technologies <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Could you
Hello,
Could you look at the new code below:
procedure TWebConnection.ConnectionDataSentISAPI(Sender : TObject;
Error : WORD);
begin
sendError := Error;
sendComplete := true;
end;
function TWebConnection.SendSync(Data: String): boolean;
begin
Result := SendSync(PChar(Data
> Thanks for the pointer. The error is 10035.
As you can see in the docs, it is WSAEWOULDBLOCK. This not a real error in a
non-blocking environment. It just mean the winsock call would block to
execute the task and non-blocking mode has been selected.
--
Contribute to the SSL Effort. Visit http
S (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> - Original Message -
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Tuesday, Novembe
I do not think the issue understood the same here and there. Why is
the Count = -1 then? What should one do to have the sync method work?
(I have changed the mode to sync, I hope you noticed. See the code I
posted in my __first__ email.)
Regards,
SZ
On 11/21/06, Francois PIETTE <[EMAIL PROTECTED
Hello,
In our ISAPI server, if the request is detected to be of a ISAPI
interpreter one, we run the routine,
OldDataAvailable = FOnDataAvailable;
OldSendData = FOnSendData;
OldDataSent = FOnDataSent;
FOnDataAvailable = NULL;
FOnSendData = NULL;
FOnDataSent = NULL;
int iMode = 0;
WSocket_ioctlso
>I do not think the issue understood the same here and there. Why is
> the Count = -1 then?
When you call Send, passing a number of bytes and send is not able to send
it without blocking and non-blocking mode is active, then send returns -1 to
tell you it can't do what you asked. Nothing is sent
I want to add:
1) ISAPI must have sync sockets
2) when I go through breakpoints, no -1's are returned and the sample
jpg returned by the ISAPI extension works perfectly. (no corruption)
Best Regards,
SZ
On 11/21/06, Fastream Technologies <[EMAIL PROTECTED]> wrote:
> Hello,
>
> In our ISAPI serv
quot; <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, November 21, 2006 1:09 PM
Subject: [twsocket] TWSocket sync send problem within ISAPI
> Hello,
>
> In our ISAPI server, if the request is detected to be of a ISAPI
> interpreter one, we
12 matches
Mail list logo