1

Hallo, Does anyone perhaps know how to interface with a MemCached server (linux) from within a Delphi win32 application? I am unable to find a general C DLL client, or perhaps delphi code to communicate to the server. Any suggestions/help would be appreciated.

Thanks Eric Grobler

  • Related question: http://stackoverflow.com/questions/819544/are-there-any-caching-frameworks-for-delphi, voting to close this one. – mghie Aug 26 '09 at 13:56
  • Related, but not an exact duplicate. Just because the answer to question A also answers question B doesn't mean A and B are duplicates. – Rob Kennedy Aug 26 '09 at 15:10
  • @Rob: Well, there is no option "close enough to a duplicate that it doesn't make sense to have this question too", which IMO applies here. – mghie Aug 26 '09 at 16:15
  • @Eric: As can be seen from the comments to the linked other question there is libmemcached, which according to the website can be built as a DLL to be used from a Delphi program. – mghie Aug 26 '09 at 16:17

3 Answers3

3

A Delphi client for Memcached can be found on google code:

http://code.google.com/p/delphimemcache/

Jason Southwell
  • 351
  • 2
  • 9
2

Since the protocol is fairly simple, just about any library which handles telnet should be able to handle communication with the server. This includes Indy, Synapse, and ICS. I based this off of the protocol documentation.

My preference would be to implement using Synapse. Synapse uses an object model rather than a component model, and is very easy to use and extend. The latest developers version (available via SVN) supports Delphi 2009 and I would expect soon to support Delphi 2010.

skamradt
  • 15,366
  • 2
  • 36
  • 53
0

Thanks for your feedback, I will try a telnet communication. (and have a look at Synapse)

Regards Eric