[erlang-questions] Invalid data on distribution channel

Vlad Dumitrescu vladdu55@REDACTED
Fri Dec 22 09:53:51 CET 2006


On 12/22/06, Bob Cowdery <Bob.Cowdery@REDACTED> wrote:
> This I believe is coming from a port driver so it would be binary. I assume you are saying there is a gash byte at the start. It does seem like a lot of data for a short message. Also I don't recognise the message as anything I send. How can I determine what process the Pid referes to? Sorry for all the questions.

No problem.

The pid being <6770.51.0> you can see what node it runs on by using
node(Pid), which in this case will say "switcher@REDACTED". I know
because that string is actually part of the binary representation -
that's why it's relatively large (and also there is another identical
message beginning after this one).

You can also run process_info(Pid) to find out more about it.

Hope this helps.


More information about the erlang-questions mailing list