That's because on Linux you must be root to send ping packets for users not to flood hosts with ping packets. It is a security thing. You can not bind to a port below 1024 as a normal user.
-------- Original message -------- From: Piotr Polok <piotr.po...@polok.pl> Date: 11/08/2015 23:22 (GMT+02:00) To: Ararat Synapse <synalist-public@lists.sourceforge.net> Subject: [Synalist] Synapse in Lazarus on Linux with user privileges not working. Hi, when I start Lazarus IDE from root account the PingSend.PingHost(host) works properly, but when I start Lazarus IDE from user account the PingSend.PingHost(host) gives all the time '-1' result. Lazarus version: 1.4.2 FPC, FPC-SRC version: 2.6.4 Synapse version: 40 OS: Debina 8.1 on Oracle VM please help in solving this problem. Piort Polok ------------------------------------------------------------------------------ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
------------------------------------------------------------------------------
_______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public