Re: [twsocket] TWSocket Digest, Vol 250, Issue 9
JF I assume you are talking about the host address. You must enter the IP address in the form of x.x.x.x or the FQHN (Fully Qualified Host Name) i.e. mailserver.domain.com of the mail server you are trying to send to. It appears that C0-A8-01-65 is a dynamically assigned host name from maine.rr.com. This will not work as most ISP's do not populate their DNS servers with dynamically assigned names of their customers (consumers) accounts and hence you would have no DNS resolution for C0-A8-01-65.maine.rr.com if you were to use this address for you HOST (destination) address. Darin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan M. Freedman Sent: Sunday, January 06, 2008 11:13 PM To: twsocket@elists.org Subject: Re: [twsocket] TWSocket Digest, Vol 250, Issue 9 Dear List: Thank you for your previous help. That, however, did not solve the problem entirely. I entered the DNS address (C0-A8-01-65) which I got from running ipconfig...its connection specific suffix is maine.rr.com... I kept local address as 0.0.0.0 I get an error message that says "SMTP component not ready" after issuing a Connect() command. Where does that come from? Thank you in advance, jf -- 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
[twsocket] Smtp component not ready
Hello Jonathan, I don't understeand the first part of your mail, but the 'smtp component not ready' is because it is probably already busy with a request. All functions are async and return immediatly while the component will to the job in background. So while it is busy yuu cannot do another request. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, January 7, 2008, 05:13, Jonathan M. Freedman wrote: > Dear List: > Thank you for your previous help. That, however, did not solve the problem > entirely. I entered the DNS address (C0-A8-01-65) which I got from running > ipconfig...its connection specific suffix is maine.rr.com... > I kept local address as 0.0.0.0 > I get an error message that says "SMTP component not ready" after issuing a > Connect() command. Where does that come from? > Thank you in advance, > jf -- 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] TWSocket Digest, Vol 250, Issue 9
Dear List: Thank you for your previous help. That, however, did not solve the problem entirely. I entered the DNS address (C0-A8-01-65) which I got from running ipconfig...its connection specific suffix is maine.rr.com... I kept local address as 0.0.0.0 I get an error message that says "SMTP component not ready" after issuing a Connect() command. Where does that come from? Thank you in advance, jf -- 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] New V6 beta FTP client and server components
> Many thanks, today I managed to raise an exception in > CommandPASV(), "port in use". The port table reported the port as > free, although > the server actually was listening on that port. I was clicking > around in multiple FTP clients when that happened. The port release code is called from a lot of places in different circumstances, not really look at it. But at least the change to use sequential ports means such in-use errors will be much rarer, it is the normal windows behaviour to use sequential ports, not the same one repeatedly. 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
Re: [twsocket] New V6 beta FTP client and server components
Many thanks, today I managed to raise an exception in CommandPASV(), "port in use". The port table reported the port as free, although the server actually was listening on that port. I was clicking around in multiple FTP clients when that happened. Unfortunately, subsequently I wasn't able to reproduce the same error again. But there must be a rare condition that causes the port to be removed from the table even though the socket is still listening and not closed, very strange, I tried 2 hours until a gave up. -- Arno Angus Robertson - Magenta Systems Ltd wrote: > There is a new release of the ICS V6 FTP client and server components > today, a zip may be downloaded from the ICS page at my web site: > > http://www.magsys.co.uk/delphi/magics.asp > > There are various new bug fixes in the December changes. > > OverbyteIcsWSocketS has new Disconnect(Client) and DisconnectAll > functions. > > OverbyteIcsStreams has a bug fix to stop a permanent loop condition. > > The FTP client now uses a TFileStream to download or upload a > temporary Mode Z file instead of TMemoryStream, which on high band > connections is up to 20 times faster (not using Fastmm4). > > The FTP client test program now supports bandwidth restriction, which > can be useful for testing on a LAN where things happen so fast. > > The FTP server passive port pool now allocates ports sequentially > instead of immediately re-using the same ports, which seems to be > more firewall friendly. > > The new SocketServer based FTP server has some missing functionality > added and should now be the same standard as the existing FTP server, > but I've not yet used in my commercial applications. > > Arno's new FTP server that listens on multiple IP addresses and ports > simultaneously has been added to this distribution, and has fixes from > the original FTP server rolled in. > > 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
Re: [twsocket] New V6 beta FTP client and server components
There is a new release of the ICS V6 FTP client and server components today, a zip may be downloaded from the ICS page at my web site: http://www.magsys.co.uk/delphi/magics.asp There are various new bug fixes in the December changes. OverbyteIcsWSocketS has new Disconnect(Client) and DisconnectAll functions. OverbyteIcsStreams has a bug fix to stop a permanent loop condition. The FTP client now uses a TFileStream to download or upload a temporary Mode Z file instead of TMemoryStream, which on high band connections is up to 20 times faster (not using Fastmm4). The FTP client test program now supports bandwidth restriction, which can be useful for testing on a LAN where things happen so fast. The FTP server passive port pool now allocates ports sequentially instead of immediately re-using the same ports, which seems to be more firewall friendly. The new SocketServer based FTP server has some missing functionality added and should now be the same standard as the existing FTP server, but I've not yet used in my commercial applications. Arno's new FTP server that listens on multiple IP addresses and ports simultaneously has been added to this distribution, and has fixes from the original FTP server rolled in. 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
Re: [twsocket] How does one create TryToSend failure in lab conditions?
Fastream Technologies wrote: > Hello, > > I need this for testing. triggersessionclosed should be called from > within TryToSend, not from winsock event (due to client closed > session). Any idea? Connect, unplug the network cable, then send something. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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] How does one create TryToSend failure in lab conditions?
Hello, I need this for testing. triggersessionclosed should be called from within TryToSend, not from winsock event (due to client closed session). Any idea? Regards, SZ -- 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 and passive ports
> So I've made the passive port change in the FTP server, and > installed it on the offending server, need to wait for the logs> tomorrow to > see if the remote clients are happier. Using sequential passive ports instead of the same one repeatedly seems to have fixed my problem. One client took 30 seconds to upload 15 files last night, when it was an hour with up 600 failures the previous three nights. There don't seem to have been any FTP failures since I uploaded the FTP server yesterday afternoon, although most traffic is in the early morning for the previous day's logs which are zipped and uploaded for import into SQL, so I won't see today's stuff until tomorrow. 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
Re: [twsocket] smtp
Jonathan M. Freedman wrote: > Username: the full name with domain or just the name, i.e. > [EMAIL PROTECTED] or just jon That's the username of your mail account you received from your provider. > Send mode: not sure what mode to use Default value smtpToSocket will send the email. Alternatively it's possible to set smtpToStream then call SslSmtpClient.SendToFile(), or smtpCopyToStream if the component shall write a copy of the mail to a custom stream while sending. > Share mode: not sure what mode to use Use the default value smtpShareDenyWrite. it's the share open mode of file attachments. > Local address: I think this is the [EMAIL PROTECTED] No, it's the local IP address that shall be used, default value '0.0.0.0' uses any IP, leave it as is. > Host: I think that is the same as local address It's either mail server's IP or the DNS name > Default encoding: is each server bit specific? It determines the default message text encoding similar to a property in OE. > Signon: is that the mac address and how does one format it? No, it is the parameter of the Helo/Ehlo command. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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 and passive ports
Arno Garrels wrote: > Arrgh, after uploading 40.000 files w/o any problem ( all uploads > used the same listening passive port ) the server rebooted and I now > need to debug the Minidump it created. Will have a look at that > file tomorrow :-(( I suspect either the patched tcpip.sys (patch from http://www.xp-AntiSpy.org) or ProcessExplorer (running at that time). Has anybody seen similiar crashes? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html *** * * *Bugcheck Analysis* * * *** Use !analyze -v to get detailed debugging information. BugCheck 10D1, {c, 2, 0, aabf9c02} Probably caused by : tcpip.sys ( tcpip!ReadNextTCB+d2 ) Followup: MachineOwner - 1: kd> !analyze -v *** * * *Bugcheck Analysis* * * *** DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1) An attempt was made to access a pageable (or completely invalid) address at an interrupt request level (IRQL) that is too high. This is usually caused by drivers using improper addresses. If kernel debugger is available get stack backtrace. Arguments: Arg1: 000c, memory referenced Arg2: 0002, IRQL Arg3: , value 0 = read operation, 1 = write operation Arg4: aabf9c02, address which referenced memory Debugging Details: -- READ_ADDRESS: 000c CURRENT_IRQL: 2 FAULTING_IP: tcpip!ReadNextTCB+d2 aabf9c02 8b400c mov eax,[eax+0xc] CUSTOMER_CRASH_COUNT: 1 DEFAULT_BUCKET_ID: DRIVER_FAULT BUGCHECK_STR: 0xD1 LAST_CONTROL_TRANSFER: from aabea6c5 to aabf9c02 STACK_TEXT: a9db38f0 aabea6c5 025ac460 a9db3a90 859a5880 tcpip!ReadNextTCB+0xd2 806e5830 05c7fffe fffe0080 0041 0f04eac1 tcpip!TdiQueryInformationEx+0x7e5 WARNING: Frame IP not in any known module. Following frames may be wrong. a9db3bec aabc703c 859a5880 859a58f0 859a58f0 0x5c7fffe a9db3c08 aabc6ff4 859a5880 859a58f0 85c88230 tcpip!TCPDispatchDeviceControl+0x129 a9db3c40 804ef095 861feb98 859a5880 806e5410 tcpip!TCPDispatch+0x127 a9db3c50 8057e70a 859a58f0 85bb5ef8 859a5880 nt!IopfCallDriver+0x31 a9db3c64 8057f56d 861feb98 859a5880 85bb5ef8 nt!IopSynchronousServiceTail+0x60 a9db3d00 805780c2 0038 01d8 nt!IopXxxControlFile+0x5c5 a9db3d34 8054086c 0038 01d8 nt!NtDeviceIoControlFile+0x2a a9db3d34 7c91eb94 0038 01d8 nt!KiFastCallEntry+0xfc 00aafe20 0x7c91eb94 STACK_COMMAND: .bugcheck ; kb FOLLOWUP_IP: tcpip!ReadNextTCB+d2 aabf9c02 8b400c mov eax,[eax+0xc] FAULTING_SOURCE_CODE: SYMBOL_STACK_INDEX: 0 FOLLOWUP_NAME: MachineOwner SYMBOL_NAME: tcpip!ReadNextTCB+d2 MODULE_NAME: tcpip IMAGE_NAME: tcpip.sys DEBUG_FLR_IMAGE_TIMESTAMP: 444775d3 FAILURE_BUCKET_ID: 0xD1_tcpip!ReadNextTCB+d2 BUCKET_ID: 0xD1_tcpip!ReadNextTCB+d2 Followup: MachineOwner - -- 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