Delphi Indy Socket Error #0
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta delphi indy socket example Discuss the workings and policies of this site About Us Learn
Socket Error 11004 Delphi
more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us socket error 10061 delphi Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like socket error 10060 delphi you, helping each other. Join them; it only takes a minute: Sign up IdSSLIOHandlerSocketOpenSSL Delphi Socket Error #0 up vote 0 down vote favorite I have been reading a lot about Delphi, POST command og SSL. My problem is this: I have to contact this site: https://payment.architrade.com/cgi-bin/confirmtransact.cgi Explanation can be found here: http://tech.dibspayment.com/D2/FlexWin/API/Status_functions/confirmtransactcgi Doing this in Chrome
Socket Error 11001 Delphi
or firefox returns 0. Just as the explanation says. Some 3 years ago I made an implementation to call this. I made it in Delphi 2010. This has been running without flaws for 2½ years. The last 6 months I get Socket Error #0 almost instantly after calling. I happens more and more aften, and today it is constant. At this point our customer can't use the routine because of this. In my program, I use this: HttpPosten: TIdHTTP; IdSSLIOHandlerSocketOpenSSL1: TIdSSLIOHandlerSocketOpenSSL; The code is like this: procedure TForm6.Button1Click(Sender: TObject); var FejlKode: String; begin Try Memo1.Lines.Clear; Memo1.Lines.Add('Starter på test...'); Memo2.Lines.Clear; FejlKode := HttpPosten.Post('https://payment.architrade.com/cgi-bin/confirmtransact.cgi',Memo2.Lines); HttpPosten.Disconnect; Memo1.Lines.Add(' '); Memo1.Lines.Add('Resultat:'); Memo1.Lines.Add(FejlKode); Except on E: exception do Begin FejlKode := e.Message; Memo1.Lines.Add(' '); Memo1.Lines.Add('FEJL (2):'); Memo1.Lines.Add(FejlKode); End; End; end; And at the moment I end up in the except part constantly. I need suggestions to where to look after this? Is this within Delphi, Indy, SSL, Server, Internet, Firewall or where should I look? Someone says I should upgrade Indy to newest version.
error during sending email from my application. I'm using INDY component. Is there any way to get rid of that error? I'll be greatful for any hints. socket error 10054 delphi Jepes Riki Wiki Delphi Developer 2005-11-19 07:54:53 PM Re:socket error # 0 delphi indy 10 examples On 16 Nov 2005 01:53:52 -0800, jepes writes: Quote Does anybody know what exacly "Socket error #0" mean? Hoi Jepes You
Delphi Indy Documentation
need to repost your question on the Borland news server to make everybody see it and possibly answer your question. When reposting use the newsgroup b.p.d.internet.winsock. Take a look here:
Tag Search Advanced Search Go to Page... Thread Tools Display http://www.delphipages.com/forum/showthread.php?t=209365 Modes #1 01-16-2011, 01:16 PM simtrix3 Member http://forum.vingrad.ru/forum/topic-304061/kw-indy-post.html Join Date: Aug 2009 Posts: 30 Indy: Socket error #0 Hi, I am trying to create application which will help users to create YouTube accounts faster. I am using IdHttp and IdSSLIOHandlerSocketOpenSSL to handle "https://". At beginning it handle socket error some redirects, but then I get Socket Error #0. I am using: CodeGear Delphi 2010 Indy 10.5.5 See attachment below. Attached Files source.zip (5.1 KB, 4 views) simtrix3 View Public Profile Send a private message to simtrix3 Find all posts by simtrix3 « Previous Thread | Next Thread » Thread delphi indy socket Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is On Forum Rules Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Delphi Forum VCL DB-Aware Tools DB Tools Apps Samples .NET .NET DB-Aware .NET Tools .NET Samples Kylix General All times are GMT. The time now is 12:47 AM. Delphi Pages - Archive - Top - Contact Us Powered by vBulletin Version 3.8.8Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Выслать повторно письмо для активации Форум программистов Vingrad Новости · Фриланс · FAQ Правила · Помощь · Рейтинг · Избранное · Поиск · Участники Форум->Программирование->Delphi, Kylix and Pascal->Delphi: Сети (еще) Модераторы: Snowy, Poseidon, MetalFan Поиск: Indy Socket error #0, Проблема при Post запросе Опции темы N0m Дата 24.6.2010, 18:44 (ссылка) | (нет голосов) Загрузка ... Новичок Профиль Группа: Участник Сообщений: 18 Регистрация: 24.6.2010 Репутация: 1 Всего: 1 Всем привет!При выполнении пост запроса возникает ошибка Indy Socket error #0indy 10.5.5 Delphi 7помогите решить проблему. спасибо за вниманиесразу говорю, что вариант кода черновой!Код
function Security(html:string):TStringList;
var
i:Integer;
sDsh,sVal,sSp:string;
begin
result:= TStringList.Create;
result.Clear;
sDsh:='sVal:='value="';
sSp:='"/>';
i:= AnsiPos(sDsh , html);
Delete(html,1,i+length(sDsh)-1);
i:= AnsiPos(sVal , html);
Delete(html,1,i+length(sVal)-1);
i:= AnsiPos(sSp , html);
Result.Add(Copy(html,0,i-1));
i:= AnsiPos(sVal , html);
Delete(html,1,i+length(sVal)-1);
i:= AnsiPos(sSp , html);
Result.Add(Copy(html,0,i-1));
end;
procedure TForm1.Button1Click(Sender:TObject);
var
html:String;
stream:tStream;
strings1,str2,st3:tStringList;
begin
stream:= tMemoryStream.Create;
IdHTTP1.Get('https://www.google.com/accounts/ServiceLogin',stream);
stream.Position:= 0;
strings1:= tStringList.Create;
strings1.LoadFromStream(stream);
memo1.Lines.Assign(strings1);
strings1.Free;
stream.Free;
str2:=TStringList.Create;
st3:=TStringList.Create;
st3:=Security(memo1.Text);
str2.Add('dsh='+st3.Strings[0]&