[fpc-pascal] Re: Odyssey: SSockets and Threads.
Michael Van Canneyt
michael at freepascal.org
Thu Apr 25 09:03:41 CEST 2013
On Wed, 24 Apr 2013, silvioprog wrote:
> 2013/4/24 silvioprog <silvioprog at gmail.com>
> Hello,
>
> There are a multi-thread example using SSockets in FPC?
>
> I'm trying to implement it*, but it's very hard and this work it's consuming all my time. The difficulty is to read and write at the same time. I'm almost certain that using SSockets,
> I would have to create one socket for writing and one for reading, separately by threads.
Why is that ?
Please define "read and write at the same time" first.
> Thank you!
>
> * https://bitbucket.org/silvioprog/tcpipcomp (this repo is temporary, and this all code can undergo drastic changes at any time)
>
>
> ... like ScktComp of Delphi. (no Synapse, LNet or Indy please, I need to use native code)
Strange remark. Synapse, lnet or Indy are native pascal code.
Michael.
More information about the fpc-pascal
mailing list