Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 04:22
    rlebeau labeled #269
  • Oct 16 04:22
    rlebeau opened #269
  • Oct 08 19:00

    Fulgan on Restructure

    Bug fix for a typo in TIdIMAP4.… (compare)

  • Oct 08 19:00

    Fulgan on master

    Bug fix for a typo in TIdIMAP4.… (compare)

  • Oct 02 21:00

    Fulgan on Restructure

    Updating TIdIMAP4's InternalSea… (compare)

  • Oct 02 21:00

    Fulgan on master

    Updating TIdIMAP4's InternalSea… (compare)

  • Sep 20 21:50

    Fulgan on master

    Embarcadero patch for race cond… (compare)

  • Sep 20 21:50

    Fulgan on Restructure

    Embarcadero patch for race cond… (compare)

  • Sep 10 18:50
    rlebeau closed #268
  • Sep 10 18:50
    rlebeau commented #268
  • Sep 10 18:50

    Fulgan on Restructure

    Fix for TIdResponseHeaderInfo.S… (compare)

  • Sep 10 18:50

    Fulgan on master

    Fix for TIdResponseHeaderInfo.S… (compare)

  • Sep 10 18:49
    rlebeau labeled #268
  • Sep 10 18:49
    rlebeau labeled #268
  • Sep 10 18:49
    rlebeau assigned #268
  • Sep 10 18:49
    rlebeau review_requested #268
  • Sep 09 13:15
    gjdoornink opened #268
  • Aug 28 21:00

    Fulgan on Restructure

    Setting TIdSSLIOHandlerSocketBa… (compare)

  • Aug 28 21:00

    Fulgan on master

    Setting TIdSSLIOHandlerSocketBa… (compare)

  • Aug 28 19:42
    rlebeau milestoned #183
DelphiWorlds
@DelphiWorlds
...where they put boatloads of business logic into the JS..
Kudzu
@czhower
@DelphiWorlds You should check up on IW17 :)
Ludwig Behm
@lbehm
@DelphiWorlds similar with me. Have to write the Frontend with AngularJS - which is enormous bloat but IMHO one of the best of the worst. But all the serious Business-Logic is always in the backend...
DelphiWorlds
@DelphiWorlds
@czhower I plan to sometime for myself.. but I doubt this client would change any time soon
Remy Lebeau
@rlebeau
@DelphiWorlds the Bindings property editor is implemented in IdDsnPropEdBindingVCL.pas and IdCoreDsnRegister.pas. And of course, if you are not connected to an IPv6 network when activating the TIdIPMCastClient, you are going to run into errors trying to join an IPv6 multicast group. Populating the Bindings doesn't allocate any socket at design-time, and activating the client at runtime can still allocate an IPv6 socket and bind it locally without being connected to an IPv6 network, but joining the group requires communicating with the network, so a network connection is needed.
DelphiWorlds
@DelphiWorlds
Next issue.. TIdHTTPServer on an Android 8.1 device does not appear to be able to allow incoming connections. Before I dive headlong into a painfully slow debug, is there something I can check? Same code is working for someone else on an Android 7 device
DelphiWorlds
@DelphiWorlds
For some reason or another, it started working.. has me totally baffled
Remy Lebeau
@rlebeau
@DelphiWorlds no known issues with Android other than OpenSSL...
JNP Software de Franca Ltda
@JNPSoftware
Has anyone here work with iso 8583 using Indy ?
Remy Lebeau
@rlebeau
@JNPSoftware Not specifically that ISO, but I have helped people with a few EFTPOS-related protocol implementations using Indy.
JNP Software de Franca Ltda
@JNPSoftware
Hi @rlebeau i'm searching an start point in Delphi Indy, but only found in C, C#, .Net, nothing in Delphi/Indy.
You can share something with me?, tks.
Kudzu
@czhower
the protocol looks pretty simple and straightforward on quick glance.
JNP Software de Franca Ltda
@JNPSoftware
Hi @czhower, glad to now you are here too.
I would like to develop a backend with Indy to hear and reply information using a ISO and a front end in IW to see this information formatted.
Remy Lebeau
@rlebeau
@JNPSoftware the thing about protocol standards is that they are library-agnostic. If you have C and C# examples that work, they can very likely be ported to Indy.
@JNPSoftware ok, so what's stopping you? What are you stuck on exactly?
JNP Software de Franca Ltda
@JNPSoftware
First, i would like to know is INDY is a secure choice to create a server to receive this kind of message?
I've read that I could use "TClientSocket" for this, but I find it weak
Remy Lebeau
@rlebeau
@JNPSoftware Indy has client and server components, you would just have to write the send/receive logic to handle whatever protocol you want, and they can encrypt the connection using SSL/TLS if needed
JNP Software de Franca Ltda
@JNPSoftware
It's sound good to use indy to make a server can receive this messages.
@rlebeau It's a good idea develop a server to receive and a client to response this messages or do all in one place?
Remy Lebeau
@rlebeau
@JNPSoftware that is up to you to decide
but you said you wanted an IW frontend, but IW is web-based so its also a backend, too. Unless you mean you want IW communicating with yet another backend, then it would make sense to use Indy for communications between IW and that other backend, in which case you would likely have IW act as a server for the web browser and a client for the other backend
JNP Software de Franca Ltda
@JNPSoftware
@rlebeau, i'm sorry, i'm confusing things. I would like to develop separated parts. IW is accessing a database with information of cards numbers, value, transactions list, etc.
Indy server receive/write ISO messages and use a same database of IW. But they are totally separated.
Remy Lebeau
@rlebeau
@JNPSoftware where are the ISO messages coming from?
JNP Software de Franca Ltda
@JNPSoftware
image.png
I'm will act like a bank for authorizing a card transaction. I will receive ISO messages from another systems. this is my problem, how can i create a server to receive these messages, and response then in a ISO format.
JNP Software de Franca Ltda
@JNPSoftware
It's is for a small company have a 500/600 cards only. I have a mobile app. But now they need a ISO messages.
Kudzu
@czhower

Since EMBT forums are funky/down again.. .we have put some Delphi as well as Indy forums up to test.. join in!

https://www.atozed.com/forums/forumdisplay.php?fid=10

Remy Lebeau
@rlebeau
@JNPSoftware well, the ISO 8583 protocol is fairly straight forward (see https://www.codeproject.com/Articles/100084/Introduction-to-ISO), so what is not clear about it to you exactly? Do you even know how to use Indy in general? Let's start with that.
Kudzu
@czhower
JNP Software de Franca Ltda
@JNPSoftware
@rlebeau, thank you for your support. I need more research to think about.
Ludwig Behm
@lbehm
Has someone tips for implementing a CalDAV client? Would like to run it on Indy (c++ project)
Also a CalDAV server implementation would be very nice!
Matthijs ter Woord
@mterwoord
caldav is based on http
implementing http clients and servers is easy with indy..
Remy Lebeau
@rlebeau
@mterwoord @lbehm It is a little more involved than that. CalDAV is an extension to WebDAV. It is basically iCalendar wrapped in XML and transmitted with WebDAV over HTTPS. Indy does has a (very) minimal WebDAV client , TIdWebDAV, but no WebDAV server. I'm sure a CalDAV client/server could be made with TIdHTTP/TIdHTTPServer, with some manual work
Ludwig Behm
@lbehm
Thank you @rlebeau. I assume you didn't know of an existing c++/delphi CalDAV project?
Remy Lebeau
@rlebeau
@lbehm There are plenty available (https://devguide.calconnect.org/CalDAV/libraries/, http://libcaldav.sourceforge.net, etc), but none using Indy that I am aware of.
Kudzu
@czhower

There are Indy forums over here too on the linked web forums.

https://www.atozed.com/2018/04/embt-squirrel-on-vacation-again/

^^ Embarcadero Squirrel on Vacation Again
The squirrel on a wheel which powers the Embarcadero Forums has gone on vacation – again. The Embarcadero forums are thus down and....
Jacek
@jaclas
I need to clone a completed TIdMessage object. How to do it correctly? Is SaveToStream / LoadFromStream enough?
Kudzu
@czhower
that should get most, if not all.
Remy Lebeau
@rlebeau
@jaclas that depends on how you have populated the TIdMessage, and what the values of the NoEncode and NoDecode properties are set to
Ludwig Behm
@lbehm
I have a question about TIdMessage, too. I need to insert a TGraphic into a HTML-Mail. I assume I have to use TIdAttachmentMemory and reference the filename in the img-src?
More important: how would you import a TGraphic into a TIdAttachmentMemory?
Remy Lebeau
@rlebeau
@lbehm See http://www.indyproject.org/Sockets/Blogs/RLebeau/2005_08_17_A.aspx and http://www.indyproject.org/Sockets/Blogs/RLebeau/20080116.aspx for how to produce HTML emails with embedded images. As for using TGraphic, you can save it to a TStream first, such as TMemoryStream, and then construct the TIdAttachmentMemory from that TStream. Or, you can save the TGraphic to a temp file and use TIdAttachmentFile with its FileIsTempFile property set to True so the file will be deleted when the attachment is freed. Or, you could write your own TIdAttachment class that overrides OpenLoadStream() and CloseLoadStream() to return/free a temp TStream that the TGraphic has been saved to and which Indy will read from to get the data to send.
Ludwig Behm
@lbehm
Awesome, thank you!
Ludwig Behm
@lbehm
@rlebeau I ended up creating multiple message parts: text/html, text/plain, multipart/alternative, multipart/related... And figured out that TIdMessageClient.SendBody() goes into an endless loop if the message parts aren't created in the correct order. I create every part with new TIdText(pMessage->MessageParts, NULL) and set the correct ParentPartid. Is there a way to reorder them based on the ParentPart id?