Re: [twsocket] Having a problem with Rad Studio 2010.
Hello, A small word about the wiki page, the changelog XML links for Daily snapshots cannot open with IE7 (not tested IE8) but works with FF3.5 regards. AG Ian Tuck wrote: Ive finally made the switch from C++ Builder 6 to Rad Studio 2010, and am going through migration heck. AG What ICS version do you use? Only ICS v7 supports RS 2009+ AG Get latest version from: AG http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS AG -- AG Arno Garrels AG -- AG To unsubscribe or change your settings for TWSocket mailing list AG please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket AG Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
Dod wrote: Hello, A small word about the wiki page, the changelog XML links for Daily snapshots cannot open with IE7 (not tested IE8) but works with FF3.5 Thanks, it should be fixed now, provided you are able to convince IE to reload die .XML file. -- Arno Garrels regards. Ian Tuck wrote: Ive finally made the switch from C++ Builder 6 to Rad Studio 2010, and am going through migration heck. What ICS version do you use? Only ICS v7 supports RS 2009+ Get latest version from: http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
Hello, OK reloaded, it works (CTRL+F5 rulez). regards. AG Dod wrote: Hello, A small word about the wiki page, the changelog XML links for Daily snapshots cannot open with IE7 (not tested IE8) but works with FF3.5 AG Thanks, it should be fixed now, provided you are able to convince IE AG to reload die .XML file. AG -- AG Arno Garrels regards. Ian Tuck wrote: Ive finally made the switch from C++ Builder 6 to Rad Studio 2010, and am going through migration heck. What ICS version do you use? Only ICS v7 supports RS 2009+ Get latest version from: http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be AG -- AG To unsubscribe or change your settings for TWSocket mailing list AG please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket AG Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP Server example
Hello Francois, Ok, thanks, but is there any reason why the processing of the delivery of the file takes place in the OnTerminate event, rather than at the end of the execute method i.e after the call to the lengthy process. -- regards David Thursday, January 28, 2010, 4:56:24 PM, you wrote: I've been looking at the FTPServ1 sample app and I don't quite understand the worker thread part of the Getprocessing routine . Why is the data sent in the OnTerminate event rather than the execute method ? FP The idea is to have the FTP server trigger some lengthy processing (here a FP simple 10 sec sleep for the demo, but could be a very long database query) FP to produce some data in response to a ftp get. This shows that the server FP keep servicing other clients while processing take place in a thread. FP -- FP francois.pie...@overbyte.be FP The author of the freeware multi-tier middleware MidWare FP The author of the freeware Internet Component Suite (ICS) FP http://www.overbyte.be FP -- FP To unsubscribe or change your settings for TWSocket mailing list FP please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket FP Visit our website at http://www.overbyte.be David Rose Navigator Systems Ltd, Network Business Centre, 3 Gloucester Street, Bath, BA1 2SE,UK Main Tel: +44 (0)207 183 0011 Fax: +44 (0)1225 464984 Company Email: da...@navigator.co.uk (Private e-mail on request) CONFIDENTIALITY NOTICE The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP Server example
David Rose wrote: Ok, thanks, but is there any reason why the processing of the delivery of the file takes place in the OnTerminate event, rather than at the end of the execute method i.e after the call to the lengthy process. The component (derived from TWSocketServer) is designed to run socket IO in context of a single thread. That's possible since ICS uses non-blocking winsock API. If you do not have to serve more than around 100-200 clients on a multi-processor system all _pumping data concurrently at the same time_ the application won't benefit from multiple socket threads. Only if socket IO actually was a bottleneck it might make sense to use a different thread design, something like around 100 clients per thread, for example. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
I have installed only v7, and still have this problem. Ideas? Thanks, Ian Ian Tuck CEO NoGlobalBorders Inc. - Going. Your way. http://www.noglobalborders.com w: (416) 360-4642 x205 c: (416) 574-6642 The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
Ian Tuck wrote: I have installed only v7, and still have this problem. Ideas? Thanks, Ian Looks like an old ICS is found. What happens when you build one of the demo projects? -- Arno Garrels Ian Tuck CEO NoGlobalBorders Inc. - Going. Your way. http://www.noglobalborders.com w: (416) 360-4642 x205 c: (416) 574-6642 The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP Server example
Ok, thanks, but is there any reason why the processing of the delivery of the file takes place in the OnTerminate event, rather than at the end of the execute method i.e after the call to the lengthy process. OnTerminate event is handled in the context of the calling thread, that is the thread which runs the component. Placing code at the end of the execute method make it executed in the context of the worker thread and as such would require locked access to the component. Using the OnTerminate event handler greatly simplify the code. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TnScript: Changes needed to make it work with
Hello Wayne, I'm including the a very simple demo that I compiled and worked with Delphi7. It sees the login, supplies the user, password and ctrl-C to needed for our login. I then took the same source and compiled with Delphi2010. When I click the Connect button, I see the same login: prompt but it does not seem to get detected in the 2010 version of the compilation. There is no error message and login remains idle until I manually supply the login credentials which then works fine. I'm willing to debug this but I thought it would be something obvious to users of TnScript module. Fixed Ansi/Unicode issue in TTnCnx.ProcessInputData. Please update fro SVN repository (or wait tomorrow for next zip file). -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
Ø What happens when you build one of the demo projects? HttpTst builds fine. I definitely don't have any other installation of ics on my machine. I guess I can uninstall the VCL and reinstall it to see if that works. I'm using the C++ personality. Which should not be loading, winsock.h or ws2def.h? Thanks, Ian Ian Tuck CEO NoGlobalBorders Inc. - Going. Your way. http://www.noglobalborders.com w: (416) 360-4642 x205 c: (416) 574-6642 The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] TnScript: Changes needed to make it work with (rad 2010)
Francois, Thanks very much for your support! PS: I owe you a picture post-card now that I will start using the modules. [twsocket] TnScript: Changes needed to make it work with Francois PIETTE francois.piette at skynet.be Mon Feb 1 18:24:33 UTC 2010 Previous message: [twsocket] TnScript: Changes needed to make it work with Next message: [twsocket] Having a problem with Rad Studio 2010. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello Wayne, I'm including the a very simple demo that I compiled and worked with Delphi7. It sees the login, supplies the user, password and ctrl-C to needed for our login. I then took the same source and compiled with Delphi2010. When I click the Connect button, I see the same login: prompt but it does not seem to get detected in the 2010 version of the compilation. There is no error message and login remains idle until I manually supply the login credentials which then works fine. I'm willing to debug this but I thought it would be something obvious to users of TnScript module. Fixed Ansi/Unicode issue in TTnCnx.ProcessInputData. Please update fro SVN repository (or wait tomorrow for next zip file). -- francois.piette at overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
Perhaps I should mention that I’m using the FTPServer component. Ian Tuck CEO NoGlobalBorders Inc. - Going. Your way. http://www.noglobalborders.com w: (416) 360-4642 x205 c: (416) 574-6642 The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Having a problem with Rad Studio 2010.
Apparently there was a conflict with another 3rd party library that was loading winsock2, perhaps? At any rate, changing the order of the include files in my source fixed the problem. Not fantastic news, but at least it now compiles. Thanks for your help. The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP Server example
AG Only if socket IO actually was a bottleneck it might make sense AG to use a different thread design, something like around 100 AG clients per thread, for example. You'll have to bare with my questions on this as this is a subject I don't really know yet. If my main app (which contains an TFtpServer component) is working hard processing data and a client requests a large file, does the main app stop processing its data whilst the file is being sent ? What if 25 users request the same large file ? If it does stop, then what do I need to do to make sure that it doesn't ? David Rose Navigator Systems Ltd, Network Business Centre, 3 Gloucester Street, Bath, BA1 2SE,UK Main Tel: +44 (0)207 183 0011 Fax: +44 (0)1225 464984 Company Email: da...@navigator.co.uk (Private e-mail on request) CONFIDENTIALITY NOTICE The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP Server example
David Rose wrote: You'll have to bare with my questions on this as this is a subject I don't really know yet. If my main app (which contains an TFtpServer component) is working hard processing data and a client requests a large file, does the main app stop processing its data whilst the file is being sent ? What if 25 users request the same large file ? If it does stop, then what do I need to do to make sure that it doesn't ? TFtpServer component will create a new thread for each client, and each client will be handled in multiple instances of the same procedure. The same file can be sent to each individual user. ICS is non blocking so the application won't stop while a client is downloading a ginormous file. Hope that helps. Lester -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] EmulVT behavior with many rows dumped into client
Hello, I'm having good initial success with use of the telnet client facility. I was hoping for a little explanation about the following performance issues that I see: I have logging enabled on a simple telnet session using ICS7 and Delphi2010 compilation with mostly default settings. I also have TeraTerm with logging enabled (a common client utility available on the web). ** I'm logged into a device under test and I dump a large listing inside the telnet screen with TeraTerm. It has several hundred lines that output in around 2 seconds on a network connection. ** The same large listing output takes around 15 seconds to complete with the ICS client. It also visually blocks what is displayed in the on-screen session (shows only the command issued) and returns with the last few (tail) lines of the output on the session screen after 15 seconds. The logs in both cases are accurate and intact. Questions (as compared to TeraTerm for the most part): 1) Why the significant difference in apparent performance in the visual session screen? 2) Why does a large dump to the screen block visual output display? 3) Why do shorter output dumps manage to display without blocking? If I could understand the reasons for the apparent performance impact it would help me with my system design. Thanks for any assistance. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP Server example
TFtpServer component will create a new thread for each client, and each client will be handled in multiple instances of the same procedure. The ICS FTP server does not create a thread for each client, all clients are handled using the same thread. Some commands that require potentially lengthy processing are handled using a temporary thread, specifically some directory listing commands, MD5 and CRC32 calculations. A temporary thread is used since these commands can take a couple of minutes with gigabyte sized files during which all other actions in the server would be blocked. If you extend the FTP server with custom commands that take more than a second or so to process, you should also use a thread for that processing. Your server application also needs to take care with file lock timeouts, network timeouts, etc, to avoid blocking the main thread. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be