[twsocket] Bug in Send() ?
Hello, As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages if(State == wsConnected !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug in Send() ?
And what's the question/problem ? -- [EMAIL PROTECTED] Author of ICS (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 twsocket@elists.org Sent: Monday, March 19, 2007 8:48 AM Subject: [twsocket] Bug in Send() ? Hello, As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages if(State == wsConnected !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug in Send() ?
In what conditions should we assume that no ondatasent will be called after send()? - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, March 19, 2007 2:13 PM Subject: Re: [twsocket] Bug in Send() ? And what's the question/problem ? -- [EMAIL PROTECTED] Author of ICS (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 twsocket@elists.org Sent: Monday, March 19, 2007 8:48 AM Subject: [twsocket] Bug in Send() ? Hello, As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages if(State == wsConnected !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug in Send() ?
Please do notice that there are two sockets: one server and one client and the error on client/outgoing socket affects the server socket (somehow). Regards, SZ - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, March 19, 2007 2:13 PM Subject: Re: [twsocket] Bug in Send() ? And what's the question/problem ? -- [EMAIL PROTECTED] Author of ICS (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 twsocket@elists.org Sent: Monday, March 19, 2007 8:48 AM Subject: [twsocket] Bug in Send() ? Hello, As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages if(State == wsConnected !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug in Send() ?
Fastream Technologies wrote: In what conditions should we assume that no ondatasent will be called after send()? It will be called, even if you call Send() with NULL-data. However, if still unsent data is in the buffer it will be called delayed after all data has been sent. It won't be called if during real sending an winsock error happend, in this case SessionClosed is called immediately. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, March 19, 2007 2:13 PM Subject: Re: [twsocket] Bug in Send() ? And what's the question/problem ? -- [EMAIL PROTECTED] Author of ICS (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 twsocket@elists.org Sent: Monday, March 19, 2007 8:48 AM Subject: [twsocket] Bug in Send() ? Hello, As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages if(State == wsConnected !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] [OT] Delphi 2007 for WIN32 Purchase Hint
If you purchase Delphi 2007 for WIN32 via D/L like I did, you may want to seriously consider purchasing the media kit too because the D/L version provides no files to install from, it simply performs a Install Anywhere from the web leaving you only the Install Anywhere installer file. Thank you for your patience of this slightly off topic post. Darin -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug in Send() ?
Thanks! - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, March 19, 2007 3:16 PM Subject: Re: [twsocket] Bug in Send() ? Fastream Technologies wrote: In what conditions should we assume that no ondatasent will be called after send()? It will be called, even if you call Send() with NULL-data. However, if still unsent data is in the buffer it will be called delayed after all data has been sent. It won't be called if during real sending an winsock error happend, in this case SessionClosed is called immediately. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, March 19, 2007 2:13 PM Subject: Re: [twsocket] Bug in Send() ? And what's the question/problem ? -- [EMAIL PROTECTED] Author of ICS (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 twsocket@elists.org Sent: Monday, March 19, 2007 8:48 AM Subject: [twsocket] Bug in Send() ? Hello, As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages if(State == wsConnected !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Question regarding Delphi 2007
Hello all. This might be a bit Off Topic. However, since Francois mentioned D2007, I hope you don't mind if I ask a more specific question regarding D2007. You mentioned that it is fast and reliable product. I was wondering if it is any better regarding resource usage than D2006? Specifically, regarding loading multiple instances / apps at a time for debugging dependant applications? Often, it is necessary for me to debug more than one Delphi app at a time, sometimes even 3 or more (server, client, broker, admin tools, etc). With older Delphis (D6, etc) this was NEVER a problem. But, D2006 is SO HORRIBLE regarding resource utilization, that I can't load more than 2 apps. On trying to load a third instance of D2006, it fails with numerous errors and just dies loading Delphi. Ugggh! And, annoyingly, I have a pretty beasty machine, more than I ever had with Delphi before for sure. I LOVE Delphi AND BORLAND, but D2006 is the most dissappointing and worst quality product that I have ever got from Borland. While it had some great new productivity features, it is full of so many bugs, including MAJOR memory leaks, that have yet to be fixed and that are so bad I sometimes have to reload Delphi 2006 several times a day or my machine comes to a grinding halt. If I am so bold as to try and load TWO instances of D2006, the problems appear to be more frequent. I am really shocked. I have never seen Borland put out a product this bad before, at least as regards quality. And QC is full of issues like that, but with no response or anticipated fix date. It has made me leery to try another product from them for a while. So, have you found that it can actually load more than 2 apps / instances at a time without dying? I would appreciate any feedback on this, because if it is better in this regard, it will be much easier for me to justify my company spending more money on yet another Delphi IDE. :) Thanks much... Hoby -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be