[fpc-pascal] libevent for socket

Bo Berglund bo.berglund at gmail.com
Thu Jan 21 10:22:38 CET 2016

On Sun, 17 Jan 2016 16:34:45 -0300, silvioprog
<silvioprog at gmail.com> wrote:

>On Tue, Jan 5, 2016 at 12:15 PM, Xiangrong Fang <xrfang at gmail.com> wrote:
>> Hi All,
>> Could anyone help me with some samples of writing socket program with
>> libevent, or is there any adapter/wrapper already exists for freepascal?
>I used libevent in a C project, but you can use it easily with Pascal (FPC
>and/or Delphi). For example, I did this small draft [1] that compiles in
>Free Pascal (it is just a helloworld fast HTTP server), using the libevent

Is this a purely Windows thing or is it portable to all environments
supported by FreePascal, like Linux on ARM etc?
There seems to be conditionals for MSWINDOWS but nothing else....

Bo Berglund
Developer in Sweden

More information about the fpc-pascal mailing list