[From nobody Mon Mar 25 16:12:53 2013 From: Nuno Silva <nsilva@dei.isep.ipp.pt> To: "'erlang-questions@erlang.org'" <erlang-questions@erlang.org> Subject: Contacting with net_adm:ping/1 Date: Thu, 18 Nov 1999 15:40:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Erlang version: 47.4.1 Problem 1: I'm having a problem contacting nodes in Linux hosts. Imagine I launch node_1@host_1, node_2@host_1 and node_1@host_2, being = host_2 and host_2 linux based hosts. When I try the net_adm:ping(node_2@host_1) in node_1@host_1 the result = is pong. Ok! Then I try net_adm:ping(node_1@host_2) in node_1@host_1 and (most of the = times) the result is pang. If the same experience is done using host_2 as a Windows 98 based host, = the ping result is ALWAYS pang. Both experiences consider using: - Always the same hosts; - The same network configuration; - 'nocookie' in all the nodes; - Exclusive short node names or exclusive long nodes names (no = short/long node names simultaneously). Why?... Problem 2: When I export a function named "query/1" I get compiler error: "syntax = error before: '/'". If I export the function "queryy/1" (notice the 2 yy), no error is = reported... Is it "query" a reserved word or something like that?... Even so, why = does not the compiler report a simple " Warning: defining BIF = query/1"?... Thanks for your concern, Sincerely, Nuno Silva _______________________________________________________ Nuno Silva DEI - ISEP - IPP (Polytecnic Institut of Porto) Rua Dr. Ant=F3nio Bernardino de Almeida 4200 - 072 Porto PORTUGAL Tel.: + 351 228340500 Fax: +351 228321159 mailto:Nuno.Silva@dei.isep.ipp.pt http://www.dei.isep.ipp.pt/~nsilva ]