On Sun, 17 Jan 2016 16:34:45 -0300, silvioprog <silviop...@gmail.com> wrote:
>On Tue, Jan 5, 2016 at 12:15 PM, Xiangrong Fang <xrf...@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 >2.0.5: > 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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal