[D2010] Indy Sockets [Edit]Hi all!
I'm new to Indy and I would like to develop my first application with TCP sockets. Anyway I'm having great problems with Indy because I really can't find a good guide. To say the truth I searched on google, yahoo and youtube. The easiest tutorial I've found is a C++ tutorial that uses Indy (on youtube). However I don't know C++ and I want to use it in Delphi. Can you show me a snippet of code that sends a string and explain it step to step? Can you give me a link to a guide that shows how to use Indy TCP
clients and servers and explains how and why do these wor...
Indy Server Socket Freezing [Edit]Hi all, how are you ? I have a little doubt, when I have connected clients and i try to put more ports to listen or close listening ports the form is freezing.
For add ports
{code}
If IDS_Server.Active Then
IDS_Server.Active := False;
With tBindings.Add Do
Begin
IP := '127.0.0.1';
Port := StrToInt(TXT_Port.Text);
End;
IDS_Server.Bindings := tBindings;
IDS_Server.Active := True;
LB_Ports.Items.Add(TXT_Puerto.Text);
{code}
For close ports
{code}
If IDS_Server.Active Then
IDS_Server.Active := False;
If tBindings.Count =...
Re: [D2010] Indy Sockets [Edit]"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:...
> TSimpleClient = class(TIdContext)
Minor correction:
{code:delphi}
TSimpleClient = class(TIdServerContext)
{code}
--
Remy Lebeau (TeamB)
...
Can Indy TIdHttp connect to Google.com with SSL ? [Edit]Hi All,
I am using Delphi 5 + TIdHttp (Indy 9) ,
In my experience and test,
They work well with Google + SSL before 2009/8.
After Google seem upgraded its SSL that time,
i found they cant work with Google+SSL anymore.
Can anyone connect to Google with SSL well?
--
Chen Chi-Shun(陳基順),
http://groups.google.com/group/chi-shun-chen
Software Developer: Developing Rss/Twitter Cleint-Reader.
Forex Trader and WarCraft III player.
Edited by: Andrew Chen on Feb 25, 2010 7:35 PM
...
Indy 10 TIdHTTP, TIdLogStream and access violation error [Edit]cleared
Cleared by: Adamski Sławomir on Dec 5, 2013 10:21 AM
...
TIdHTTP, TIdSSLIOHandlerSocketOpenSSL, Socket Error # 10060, Connection tim [Edit]hi! I need help
{code}
{uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdHTTP, IdMultipartFormData, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack,
IdSSL, IdSSLOpenSSL, IdExplicitTLSClientServerBase, IdMessageClient, IdIMAP4;}
{openssl-1.0.1e-i386-win32.zip
libeay32.dll
ssleay32.dll в корневой папке
}
procedure TForm1.Button1Click(Sender: TObject);
var
data :
TIdMultiPartFormDataStream;
idhp: TIdHTTP;
IdSSL: TIdSSLIOHandlerSocketOpenSSL;
begin
idh...
CB2010 Indy 10CB2010
Indy 10
I am using the TIdIOHandlerSocket::Write method. I'm trying to send an AnsiString which contains the following data:
"ÓëÐ™"
what is actually sent is:
"OeDiSRT"
Note that they look similar, but the binary data is different. I am doing some migrations from BCB6 to CB2010, and before the TIdIOHandlerSocket::Write method would write the same binary data as was in the AnsiString. Now it appears to do some conversion before sending?
Can anyone shed some light on this and offer advise on how I should be writing t...
aborting a new event/edit event dialog[In case this matters, I'm using Lightning + WCAP.]
Currently when you use new event / edit event, you are presented with a
dialog box with no way out. The only button is "Save". There needs to
be a "Cancel" button. I finally realized that the escape key can be
used. But if you're doing a GUI interface, there should be buttons for
all functions.
Hi,
the (prototypical) wcap event dialog has been reworked completely, so I
think you should check the latest nightly (IIRC Mickey checked it in
yesterday). It still does not have cancel, but is modeless. Don...
Is it allowed to call Indy component from Indy worker threads?Hi!
I have a chain of Indy components that implements a *My FTP Client 1* <--> *My FTP Server* <---> *My FTP Client 2* <--> +(External FTP server)+
Now, the chain *Client1 -- Server -- Client 2* lives within the same application. And the *Server -- Client2* is to behave like proxy for the external server.
My problem is to make the Client 1, server, Client 2 chain to work without error. But so far it does not. Sometimes it leaves the Client2 connection to the external server hanging (Exception EIdAleradyConnected). And sometimes the whole application crashes with an a...
Editing subsequences of recurring events; Customizeable event templates-Recurring Events
Most of my scheduling is recurring events, such as classes, sections,
and office hours. Every calendar program allows these to be set up,
but few allow more than one instance to be modified without changing
the entire event. Calendarscope does, but it has other failings in
areas where Sunbird shines. To illustrate what I mean: Last quarter I
had to change my office hours mid-quarter. I wanted to update my
calendar to reflect this. I could change the entire event, which would
change the time on all of them, including the ones that did occur at
the original time. I c...
Indy Sockets.Is it OK to ask an Indy Socket question here ? If not where can I ask it ?
> {quote:title=Tony Blomfield wrote:}{quote}
> Is it OK to ask an Indy Socket question here ? If not where can I ask it ?
It is better to use the WinSock subforum in the Delphi category.
...
Indy or SocketsHi, I'm triying to make a simple chat service application, and want to know
wich one is better, ServerSocket or Indy components?
Wich one can give me the best speed of acess, data loss, connection type,
best service?
Or if there are others that can give the best way to implement the server
and client the most easy way, or any link or examples of how to use, if
someone know anyone, can please help me?
one more thing, wich one is better TCP or UDP? and are any more types better
for what I want?
thks
...
How GridView1_RowEditing event determines the commandName of edit button which is set to Edit
How GridView1_RowEditing event determines the commandName of edit button which is set to Edit?
How GridView1_RowUpdating determines the commandName of edit button which is set to Update?-----------------------------------------------Please click Mark as Answer if this helped.
The GridView has a method called HandleEvent that looks at the CommandName and determine which event to process. The CommandNames (Edit/Update/Cancel/Delete/Sort/Select/Page) are hardcoded in that method.
Hope that helps.
AaronDon't forget to click "Mark as Answer" on the post that helped ...
To edit or no to editJon,
Can I edit, whatever I've written so far, so that it doesn't look like
I wrote utterly crap?-)
--
Pieter
"Linux is like living in a teepee. No Windows, no Gates, Apache
in house." -- Usenet signature
Pieter Zijlstra wrote:
> Jon,
>
> Can I edit, whatever I've written so far, so that it doesn't look like
> I wrote utterly crap?-)
Oh boy, the edit button vanished from the web-forum ...
;-)
--
Pieter
"Humor is also a way of saying something serious."
-- T. S. Eliot (1888 - 1965)
Pieter Zijlstra wrote:
...