[twsocket] How can I know the IP address?

2012-12-16 Thread David Bridges
If I have a wired local area connection and some wireless connection how can I know which I'm connected through? If I can obtain the IP address of the adapter I'm connected through I could tell but can't determine how to do that. I tried GetPeerAddr() but it's returning "error", maybe because

[twsocket] "4G" Issues

2011-07-23 Thread David Bridges
I have a couple clients now that have upgraded to Verizon "4G" and now the functions that use the ICS components don't work anymore for them, I'm guessing it's FTP upload but don't have any details on what the failure is. Just wondered if anyone had experienced this? From what I've read there

[twsocket] Repair Connection?

2011-05-26 Thread David Bridges
I use the TWSocket and TWSocketServer components to implement communication between a host and client computers. Sometimes things get in a state where the client will fail to connect to the host no matter how many times it is attempted. Exiting the software, repairing the local area connectio

Re: [twsocket] FTP Failure

2007-11-24 Thread David Bridges
>>> PORT 192,168,1,91,11,164 >> < 200 PORT command successful. > > Looks like a router problem to me. > The client sends the local, private IP and port in the Port > command, however the (NAT) router isn't smart enough to change this > to the current public IP. I guess the user must either buy a sm

[twsocket] FTP Failure

2007-11-24 Thread David Bridges
I'm getting and FTP failure that happens only with certain internet connections it seems. On the same computer with the same software it will work fine with one connection but not another. It always works at my site but some clients have this problem. The FTP server at the other end is the s

Re: [twsocket] Vista - OnSessionClosed

2007-06-03 Thread David Bridges
ed it every which way and it works Ok. I'll be going back to the static IP's, the two Vista computers, and the crossover to test that again but for now this problem seems to be a non problem. Db - Original Message - From: "David Bridges" <[EMAIL PROTECTED]>

[twsocket] Vista - OnSessionClosed

2007-06-02 Thread David Bridges
I have an app that has been working fine with XP and Win2k but I just discovered there is a problem when using Vista. I have a TWSocket that connects to a TWSocketServer, the connection happens Ok, the server sends it's first message and then the TWSocket gets an OnSessionClosed and then, not

Re: [twsocket] ProblemupgradingtoICSV5forDelphi/C++BuilderBeta(Nov11, 2006)

2007-04-16 Thread David Bridges
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> >>> Possibly the old ICS folder is still in the search path somewhere? >> >> Something like that has to be causing this but... > > I'm a Delphi guy and not very familiar with BCB. Have you carefully > compared the project optio

Re: [twsocket] Problem upgradingtoICSV5forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-16 Thread David Bridges
Arno Garrels [TeamICS]: > At least IcsUrl.pas (dated 01/01/2006) is included in current release, > ics.zip. > >> When I try to single >> step into ParseUrl I'm prompted to browse to the location of the >> file, not sure if that is expected or is in anyway a clue about the >> problem. > > Possibly

Re: [twsocket] Problem upgrading to ICSV5forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-15 Thread David Bridges
> In THttpCli.DoRequestAsync a valid FURL is being passed into ParseURL but > everything is coming back NULL... > >else begin >ParseURL(FURL, Proto, User, Pass, Host, Port, FPath); >FTargetHost := Host; >FDocName:= FPath; >FProtocol := Proto; >if Us

Re: [twsocket] Problem upgrading to ICS V5forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-15 Thread David Bridges
> Is the page not being found with HttpTst demo as well? > If yes, log the response headers and requests and post them here. > The demo works properly. In THttpCli.DoRequestAsync a valid FURL is being passed into ParseURL but everything is coming back NULL... else begin ParseURL(FURL

[twsocket] Problem upgrading to ICS V5 for Delphi/C++BuilderBeta(Nov 11, 2006)

2007-04-14 Thread David Bridges
When I upgraded HTTP stopped working, is there some know changes that need to be made? In the code below I always catch an exception as a result of a 404. If I type the url into a browser it works. Db Screen->Cursor = crHourGlass; String c_dir = GetCurrentDir(); String url = "http://www

Re: [twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder Beta(Nov 11, 2006)

2007-04-07 Thread David Bridges
- Original Message - From: "David Bridges" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 8:34 PM Subject: [twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder Beta(Nov 11, 2006) > I'm trying to upgrade to t

[twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder Beta (Nov 11, 2006)

2007-04-07 Thread David Bridges
I'm trying to upgrade to the beta and I'm getting some error messages. At the beginning of the complie I get... The smtpClientGetData metod referenced by smtpClient->OnGetData has an incompatible parameter list. Remove the reference? After the link I get... [Linker Error] Unresolved external

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> Maybe that the demos have not been updated for BCB (most likely), however > there should be a new method Auth, as well as properties Username and > Password. So I made my own auth button and yes, it works. Thank you. Db -- To unsubscribe or change your settings for TWSocket mailing list plea

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> I've no idea what went wrong, however there went something wrong. > Check paths etc., obviously you are still acessing the old version. I don't think so, I renamed my existing ICS folder and unzipped the distribution in a new ICS folder. I'm using C++Builder 5, were those files perhaps not up

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
>> I don't have this method. I downloaded the latest ICS-V5 >> Distribution, should I have downloaded the ICS V5 for Delphi/C++ >> Builder Beta (Nov 11, 2006)? > > Yes please, it includes all fixes as well as interisting new features. > I downloaded the ICS V5 for Delphi/C++ Builder Beta (Nov 11,

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> Of course, see the MailSnd demo search for method Auth. > > procedure TSmtpTestForm.AuthButtonClick(Sender: TObject); > begin >FAllInOneFlag := FALSE; >SmtpClient.Username:= UsernameEdit.Text; >SmtpClient.Password:= PasswordEdit.Text; >SmtpClient.AuthT

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> Any SMTP authentication requires EHLO to be sent instead of HELO. > That helps, I get this back from Elho... < 250-smtp108.sbc.mail.re2.yahoo.com < 250-AUTH LOGIN PLAIN XYMCOOKIE < 250-PIPELINING < 250 8BITMIME RequestDone Rq=10 Error=0 But I still get the 530, don't I have to supply a passwor

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> At first download latest beta version, MailSnd demo demonstrates > authentication since years. It's possible to specify a certain > authentication type as well as let the compononent find most secure > type (SmtpCli.AuthType := smptAuthAutoSelect). > Ok, I did that and I selected the smtpAuthAu

[twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
I'm trying to provide a way for email to be sent from my application using TSmtpCli and am having trouble understanding the authentication mechanisim. In Outlook Express you just check a box "My server requires authentication", you put in [EMAIL PROTECTED], you put in your password and it then w

Re: [twsocket] How can I know that my client is connected?

2006-09-28 Thread David Bridges
Hi Wilfried, Thanks that works great. I had tried OnSessionConnected but didn't know how to interpret the error parameter, as long as I test for zero it works great. David - Original Message - From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday,

[twsocket] How can I know that my client is connected?

2006-09-27 Thread David Bridges
I have a server and some number of clients any of which may or may not be present. If the server is not available then the functionality of the server is not available but the clients have functionality of their own. When the sever starts it opens a listening socket... wserverSocket->Close()