Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!
Hello, I have just found time to retry and get the following: Build [Pascal Error] IcsZLibDll.pas(658): Undeclared identifier: 'ZLibDllNameBis' [Pascal Error] IcsZLibDll.pas(663): Undeclared identifier: 'ZLibDllNameTer' [Pascal Error] IcsZLibDll.pas(759): Undeclared identifier: 'ZLibDllName' [Pascal Fatal Error] pasall.tmp(28): Could not compile used unit 'C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas' [Linker Fatal Error] Fatal: Unable to open file 'ICSZLIBDLL.OBJ' Search for 'ZLibDllNameBis' C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas(658): ZLibDLLHandle := LoadLibrary(pChar(ZLibDllNameBis)); C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas(659): if (ZLibDLLHandle 0) then ZLibDllActualName := ZLibDllNameBis; Regards, SubZero - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, January 11, 2006 4:08 PM Subject: Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! Ok those things were easy yet still needed to be fixed. Now I get IcsZlibdll.obj not found and IcsURL.obj not found! I do build all with BCB6Pro. Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, January 11, 2006 4:00 PM Subject: [twsocket] Installing latest beta under BCB6--PROBLEMS! Hello, First problem was with the type TSocket. I made a workaround by moving the type definition to the top of the module but I have a bigger problem: In ICSStreams, there is an exception type called SFCreateError that cannot be found anywhere (netiher by compiler nor by find). Any ideas? Best Regards, SZ -- 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] events firing in strange sequence TWSocket
Hello, Have something very strange. At customar it is client program and they connect via VPN over internet to server. What I dont know is if they have obscure (software) firewalss who are messing up Winsock, so: 1/14/2006 11:25:58 PM OnSessionClosed with error: 10053 1/14/2006 11:25:58 PM Sending TCP packet// probably bug in my app 1/14/2006 11:25:58 PM OnSessionClosed with error: 10054 1/14/2006 11:25:58 PM OnDataSent The wierd thing is that OnDataSent is fired hier above ! But I cannot understeand wy 2 times a OnSessionClosed without a Connect in between. Anyone ever saw this ? The rest of the log is not reliable because by the OnSessionClosed, my program do a retry to connect exact a few seconds later, but of course 2 times :) -- Rgds, Wilfried http://www.mestdagh.biz -- 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] events firing in strange sequence TWSocket
Wilfried Mestdagh wrote: The wierd thing is that OnDataSent is fired hier above ! But I cannot understeand wy 2 times a OnSessionClosed without a Connect in between. Anyone ever saw this ? I think it is impossible that OnSessionClosed is fired twice, because it is always checked whether FCloseInvoked = FALSE. Isn't it possible that there are multiple instances? Arno -- 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] wierd sequence in event firing of TWSocket
Hello, Anyone ever seen this sequence ? 1/14/2006 11:25:58 PM OnDataSent 1/14/2006 11:25:58 PM OnSessionClosed with error: 10053 1/14/2006 11:25:58 PM Sending TCP packet 1/14/2006 11:25:58 PM OnSessionClosed with error: 10054 1/14/2006 11:25:58 PM OnDataSent 1/14/2006 11:26:03 PM DNSLookup for ... The 'Sending TCP packet' is for sure a bug in my application, but OndataSent is fired ! Also I have 2 OnSessionClose ! There is only 1 socket in this application. It is developed in D7 and TWSocket version is 5.16. They have VPN connection troush internet, and the VPN is etablished by the router, not the machine where app runs on. Waht I dont know is if they have some kind of obscure (software) firewall on their machine, because I have seen firewalls giving obscure winsock behaviour. -- Rgds, Wilfried http://www.mestdagh.biz -- 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] events firing in strange sequence TWSocket
Hello Arno, I think it is impossible that OnSessionClosed is fired twice, because it is always checked whether FCloseInvoked = FALSE. Isn't it possible that there are multiple instances? I just ahve posted same message again, sorry for that (need some coffee). No there is only 1 instance that is the strange thing. The TWSocket is created in constructor and destroyed in destructor. Both are only called in program startup and terminate. Very strange. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- 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] Http proxy failures with new ICS package
I updated my programs with the new ICS release. I receive many reports of users working behind a proxy, so I thick it's better to scip the latest release, at least for Http Paul -- 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] Installing latest beta under BCB6--PROBLEMS!
I answered this several days ago, IcsZLibDll.pas is not needed for ICS unless you change defines to use the zlib DLL instead of OBJ files, just remove it from whereever you have found it. Angus Original Message *Subject:* Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! *From:* Fastream Technologies [EMAIL PROTECTED] *To:* ICS support mailing twsocket@elists.org *Date:* Mon, 16 Jan 2006 10:32:55 +0200 Hello, I have just found time to retry and get the following: Build [Pascal Error] IcsZLibDll.pas(658): Undeclared identifier: 'ZLibDllNameBis' [Pascal Error] IcsZLibDll.pas(663): Undeclared identifier: 'ZLibDllNameTer' [Pascal Error] IcsZLibDll.pas(759): Undeclared identifier: 'ZLibDllName' [Pascal Fatal Error] pasall.tmp(28): Could not compile used unit 'C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas' [Linker Fatal Error] Fatal: Unable to open file 'ICSZLIBDLL.OBJ' Search for 'ZLibDllNameBis' C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas(658): ZLibDLLHandle := LoadLibrary(pChar(ZLibDllNameBis)); C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas(659): if (ZLibDLLHandle 0) then ZLibDllActualName := ZLibDllNameBis; Regards, SubZero - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, January 11, 2006 4:08 PM Subject: Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! Ok those things were easy yet still needed to be fixed. Now I get IcsZlibdll.obj not found and IcsURL.obj not found! I do build all with BCB6Pro. Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, January 11, 2006 4:00 PM Subject: [twsocket] Installing latest beta under BCB6--PROBLEMS! Hello, First problem was with the type TSocket. I made a workaround by moving the type definition to the top of the module but I have a bigger problem: In ICSStreams, there is an exception type called SFCreateError that cannot be found anywhere (netiher by compiler nor by find). Any ideas? Best Regards, SZ -- 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
Re: [twsocket] events firing in strange sequence TWSocket
Wilfried Mestdagh wrote: Hello Arno, I think it is impossible that OnSessionClosed is fired twice, because it is always checked whether FCloseInvoked = FALSE. Isn't it possible that there are multiple instances? I just ahve posted same message again, sorry for that (need some coffee). No there is only 1 instance that is the strange thing. The TWSocket is created in constructor and destroyed in destructor. Both are only called in program startup and terminate. Very strange. You may be right since in procedure TCustomWSocket.TryToSend FCloseInvoked is _not_ checked. FCloseInvoked := TRUE; { 23/07/98 } Close; TriggerSessionClosed(LastError); { 23/07/98 } -- 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] Installing latest beta under BCB6--PROBLEMS!
I should remove what? I do not understand. There was no BCB package and I created one from normal ICS beta package. Regards, SZ - Original Message - From: Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, January 16, 2006 12:06 PM Subject: Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! I answered this several days ago, IcsZLibDll.pas is not needed for ICS unless you change defines to use the zlib DLL instead of OBJ files, just remove it from whereever you have found it. Angus Original Message *Subject:* Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! *From:* Fastream Technologies [EMAIL PROTECTED] *To:* ICS support mailing twsocket@elists.org *Date:* Mon, 16 Jan 2006 10:32:55 +0200 Hello, I have just found time to retry and get the following: Build [Pascal Error] IcsZLibDll.pas(658): Undeclared identifier: 'ZLibDllNameBis' [Pascal Error] IcsZLibDll.pas(663): Undeclared identifier: 'ZLibDllNameTer' [Pascal Error] IcsZLibDll.pas(759): Undeclared identifier: 'ZLibDllName' [Pascal Fatal Error] pasall.tmp(28): Could not compile used unit 'C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas' [Linker Fatal Error] Fatal: Unable to open file 'ICSZLIBDLL.OBJ' Search for 'ZLibDllNameBis' C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas(658): ZLibDLLHandle := LoadLibrary(pChar(ZLibDllNameBis)); C:\Program Files\ICS\Delphi\Vc32\IcsZLibDll.pas(659): if (ZLibDLLHandle 0) then ZLibDllActualName := ZLibDllNameBis; Regards, SubZero - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, January 11, 2006 4:08 PM Subject: Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! Ok those things were easy yet still needed to be fixed. Now I get IcsZlibdll.obj not found and IcsURL.obj not found! I do build all with BCB6Pro. Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, January 11, 2006 4:00 PM Subject: [twsocket] Installing latest beta under BCB6--PROBLEMS! Hello, First problem was with the type TSocket. I made a workaround by moving the type definition to the top of the module but I have a bigger problem: In ICSStreams, there is an exception type called SFCreateError that cannot be found anywhere (netiher by compiler nor by find). Any ideas? Best Regards, SZ -- 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 -- 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] wierd sequence in event firing of TWSocket
Wierd sequence may be produced when you call the message pump from a socket event. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, January 16, 2006 10:51 AM Subject: [twsocket] wierd sequence in event firing of TWSocket Hello, Anyone ever seen this sequence ? 1/14/2006 11:25:58 PM OnDataSent 1/14/2006 11:25:58 PM OnSessionClosed with error: 10053 1/14/2006 11:25:58 PM Sending TCP packet 1/14/2006 11:25:58 PM OnSessionClosed with error: 10054 1/14/2006 11:25:58 PM OnDataSent 1/14/2006 11:26:03 PM DNSLookup for ... The 'Sending TCP packet' is for sure a bug in my application, but OndataSent is fired ! Also I have 2 OnSessionClose ! There is only 1 socket in this application. It is developed in D7 and TWSocket version is 5.16. They have VPN connection troush internet, and the VPN is etablished by the router, not the machine where app runs on. Waht I dont know is if they have some kind of obscure (software) firewall on their machine, because I have seen firewalls giving obscure winsock behaviour. -- Rgds, Wilfried http://www.mestdagh.biz -- 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] events firing in strange sequence TWSocket
Arno Garrels wrote: Wilfried Mestdagh wrote: Hello Arno, I think it is impossible that OnSessionClosed is fired twice, because it is always checked whether FCloseInvoked = FALSE. Isn't it possible that there are multiple instances? I just ahve posted same message again, sorry for that (need some coffee). No there is only 1 instance that is the strange thing. The TWSocket is created in constructor and destroyed in destructor. Both are only called in program startup and terminate. Very strange. You may be right since in procedure TCustomWSocket.TryToSend FCloseInvoked is _not_ checked. FCloseInvoked := TRUE; { 23/07/98 } Close; TriggerSessionClosed(LastError); { 23/07/98 } So if Do_FD_CLOSE (FD_CLOSE message received) would be called while looping in TryToSend session closed could be triggered twice. May be the close stuff in TryToSend should be changed to: if not FCloseInvoked then begin FCloseInvoked := TRUE; TriggerSessionClosed(msg.LParamHi); end; if FState wsClosed then Close; Arno -- 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] wierd sequence in event firing of TWSocket
Hello Francois, Wierd sequence may be produced when you call the message pump from a socket event. No just found it. See my other mail. It is because my application was sending a packet from IN the OnSessionClose. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- 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] Http proxy failures with new ICS package
You mean the beta ? yes, should have added it in the subject Which kind of reports: success or failure ? Same (or even worse) as always : errors on 'POST' a stream Sorry, I don't understand your english. I'll translate it for you : better not use it with Http. Paul - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, January 16, 2006 11:33 AM Subject: Re: [twsocket] Http proxy failures with new ICS package I updated my programs with the new ICS release. You mean the beta ? I receive many reports of users working behind a proxy, Which kind of reports: success or failure ? so I thick it's better to scip the latest release, at least for Http Sorry, I don't understand your english. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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] Beta 2006 version
I've just installed Delphi 2006 and am trying to install overbyteIcsDel100package but I keep getting ftpsrv.dcr file not found. As far as I can see this file is not included in the beta version but it is in older versions Thanks for your help Gary -- 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] Installing latest beta under BCB6--PROBLEMS!
I should remove what? I do not understand. There was no BCB package and I created one from normal ICS beta package. IcsZLibDll.pas is not in the ICS package. Angus -- 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] Installing latest beta under BCB6--PROBLEMS!
I removed all the old units then added all the .pas files in the new folder. IcsZLibDLL.pas is included. Which units should be in the package which defines need to be defined? Isn't there anybody with a working BCB6 package? Thanks, SZ - Original Message - From: Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, January 16, 2006 1:16 PM Subject: Re: [twsocket] Installing latest beta under BCB6--PROBLEMS! I should remove what? I do not understand. There was no BCB package and I created one from normal ICS beta package. IcsZLibDll.pas is not in the ICS package. Angus -- 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] TFtpClient Abort
Hi, 1) Is there any special reason, why in procedure TCustomFtpCli.AbortAsync WSockets are Closed instead of Aborted? If not, I would like to change calls to WSocket.Abort. 2) Also in this proc. DestroyLocalStream is called twice, can I delete one of them? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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] Beta 2006 version
I've just installed Delphi 2006 and am trying to install overbyteIcsDel100package but I keep getting ftpsrv.dcr file not found. As far as I can see this file is not included in the beta version but it is in older versions You can take the file from older version. btw: Which version are you installing ? The one included on Delphi 2006 partner CD or the one downloaded (when ?) from my website ? -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] 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] TFtpClient Abort
1) Is there any special reason, why in procedure TCustomFtpCli.AbortAsync WSockets are Closed instead of Aborted? No special reason. If not, I would like to change calls to WSocket.Abort. Looks good. 2) Also in this proc. DestroyLocalStream is called twice, can I delete one of them? OK. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] 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] Beta 2006 version
I've taken it from the website. Thanks Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 16 January 2006 16:53 To: ICS support mailing Subject: Re: [twsocket] Beta 2006 version I've just installed Delphi 2006 and am trying to install overbyteIcsDel100package but I keep getting ftpsrv.dcr file not found. As far as I can see this file is not included in the beta version but it is in older versions You can take the file from older version. btw: Which version are you installing ? The one included on Delphi 2006 partner CD or the one downloaded (when ?) from my website ? -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] 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] Beta 2006 version
OK, thanks. As stated in the readme, component icons have not been created yet. You can take the dcr files from the V5. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Gary Stafford [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Monday, January 16, 2006 8:21 PM Subject: Re: [twsocket] Beta 2006 version I've taken it from the website. Thanks Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 16 January 2006 16:53 To: ICS support mailing Subject: Re: [twsocket] Beta 2006 version I've just installed Delphi 2006 and am trying to install overbyteIcsDel100package but I keep getting ftpsrv.dcr file not found. As far as I can see this file is not included in the beta version but it is in older versions You can take the file from older version. btw: Which version are you installing ? The one included on Delphi 2006 partner CD or the one downloaded (when ?) from my website ? -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] 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] Ftp server FreeCurrentPasvPort
Hi, While I'm testing ICS-SSL shutdown stuff. FreeCurrentPasvPort of FTP server is either not working properly or it is not always called, no idea, however if it once triggered error no available passive ports (or something like that), you can wait for ever, even until there's no more socket in TIME_WAIT, w/o that error will ever disappear. BTW: Sockets in state TIME_WAIT do have nothing to do with this error, correct? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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] Ftp server FreeCurrentPasvPort
While I'm testing ICS-SSL shutdown stuff. FreeCurrentPasvPort of FTP server is either not working properly or it is not always called, no idea, however if it once triggered error no available passive ports (or something like that), you can wait for ever, even until there's no more socket in TIME_WAIT, w/o that error will ever disappear. I have been submitting changes for this bug lately - FreeCurrentPasvPort should now (in versions since beginning 2006) be called under all circumstances - this has been buggy for a long time... Which version do you use, maybe something has been lost on merging my changes - unfortunately there are so many versions lately...? BTW: Sockets in state TIME_WAIT do have nothing to do with this error, correct? Correct -- Peter Feldbaumer p dot feldbaumer at utanet dot at -- 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] Buffer size
Hello all, sorry if this topic was posted some times. I making a protocol to transfer files via TCP using a mixed mode (binary and text). I searched in ICS Components for the better buffer size: in HTTP protocol I found HTTP_SND_BUF_SIZE = 8193 I made tests and this value works great for LAN transferences but using internet I (through some linux routers) got blocks always minor than 1423 bytes. I'm doing something bad if I still using 8193 ? (Delphi 7, WinXP) thanks David -- 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] Ftp server FreeCurrentPasvPort
Peter Feldbaumer wrote: While I'm testing ICS-SSL shutdown stuff. FreeCurrentPasvPort of FTP server is either not working properly or it is not always called, no idea, however if it once triggered error no available passive ports (or something like that), you can wait for ever, even until there's no more socket in TIME_WAIT, w/o that error will ever disappear. I have been submitting changes for this bug lately - FreeCurrentPasvPort should now (in versions since beginning 2006) be called under all circumstances - this has been buggy for a long time... Which version do you use, maybe something has been lost on merging my changes - unfortunately there are so many versions lately...? I'm using current version of the ICS-SSL distribution and I'm testing with the official demo application having SSL enabled. I changed and tested different shutdown procedures in WSocket.pas (SSL-specific shutdown in combination with socket shutdown). In some cases it happened that the shutdown didn't work correctly on the server side (SessionClosed wasn't fired) when a client disconnected successfully, my fault. However disconnecting all clients on the server manually by Menu | Disconnect all, or restarting the server disconnected the clients successfully. But I think the error didn't disappear. But I may recall that wrong, and will keep an eye on it. Arno -- 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] Buffer size
Actully, the buffer size you use to transmit receive is not critical at all. It has to be large enoug in orther to not have too much OnDataSent or OnDataAvailable events triggeres which would consume CPU and in case you have a slow CPU, you couldn't sustain the line speed when the line speed is high (such as Gigabit). If the buffer is too large, it is simply a waste on memory. In the http component, the buffer is used in a way that the maximum header line must fit into the receive buffer. A part from that, the buffer could be reduce without significant impact. To send files, it is better to have a buffer which is a multiple of the maximum packet size (MTU). But if you have several physical layers (LAN and PPP for example), it is difficult to adjust the buffer size dynamically. All in all, 4KB is a good value in most situations. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: David A. G. [EMAIL PROTECTED] To: twsocket@elists.org Sent: Tuesday, January 17, 2006 1:44 AM Subject: [twsocket] Buffer size Hello all, sorry if this topic was posted some times. I making a protocol to transfer files via TCP using a mixed mode (binary and text). I searched in ICS Components for the better buffer size: in HTTP protocol I found HTTP_SND_BUF_SIZE = 8193 I made tests and this value works great for LAN transferences but using internet I (through some linux routers) got blocks always minor than 1423 bytes. I'm doing something bad if I still using 8193 ? (Delphi 7, WinXP) thanks David -- 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] Ftp server FreeCurrentPasvPort
Which version do you use, maybe something has been lost on merging my changes - unfortunately there are so many versions lately...? ICS-beta and ICS-SSL are at the same level on my website and include eveything you sent to me (and yes I made a mistake in the merge process and it was corrected and annouced quickly). -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Peter Feldbaumer [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, January 17, 2006 12:15 AM Subject: Re: [twsocket] Ftp server FreeCurrentPasvPort While I'm testing ICS-SSL shutdown stuff. FreeCurrentPasvPort of FTP server is either not working properly or it is not always called, no idea, however if it once triggered error no available passive ports (or something like that), you can wait for ever, even until there's no more socket in TIME_WAIT, w/o that error will ever disappear. I have been submitting changes for this bug lately - FreeCurrentPasvPort should now (in versions since beginning 2006) be called under all circumstances - this has been buggy for a long time... Which version do you use, maybe something has been lost on merging my changes - unfortunately there are so many versions lately...? BTW: Sockets in state TIME_WAIT do have nothing to do with this error, correct? Correct -- Peter Feldbaumer p dot feldbaumer at utanet dot at -- 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