[fpc-pascal] Re: Socket library for Mac OS X
Luca Olivetti
luca at ventoso.org
Thu Aug 28 20:02:14 CEST 2008
El Wed, 27 Aug 2008 19:39:56 +0200
"Paul" <paul.blommaerts at telenet.be> escribió:
> I never used synapse before (only ICS with Delphi), so I don't know
> exactly what you mean with "a C compatible library"
I used ICS when it was called Fpiette components suite (it's the same
thing, right?).
When I wanted to do cross-platform development with lazarus/freepascal I
switched to synapse.
Keep in mind they use a different model: ics is non blocking and event
based (so the communication logic is scattered in various methods)
while synapse is blocking and not event based. That makes the
code easier to write, read and maintain (you simply invoke methods one
after another in procedural mode, e.g. connect, send, wait a reply,
disconnect, etc., each method only returns when it has
finished what it has to do), but if you cannot block you need to put the
communication in its own thread (not a big problem for me, it may
be for you).
This is just FYI.
Bye
--
Luca
More information about the fpc-pascal
mailing list