[erlang-questions] Invalid data on distribution channel

Bob Cowdery Bob.Cowdery@REDACTED
Fri Dec 22 09:41:32 CET 2006

On 12/22/06, Bob Cowdery <Bob.Cowdery@REDACTED> wrote:
> Got invalid data on distribution channel, offending packet is: <<112,131,104,3,9
> 7,2,100,0,0,103,100,0,20,115,119,105,116,99,104,101,114,64,76,84,45,86,65,73,79,
> 45,49,48,48,0,0,0,51,0,0,0,0,2,0,0,0,83,112,131,104,3,97,2,100,0,0,103,100,0,20,
> 115,119,105,116,99,104,101,114,64,76,84,45,86,65,73,79>>

>> The giveaway is the second byte, 131, which is the marker for binary
>> encoded Erlang terms. Removing the initial 112 and running the rest of
>> the binary through binary_to_term/1, the result is {2,'',<6770.51.0>}

Vlad thankyou.

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.


More information about the erlang-questions mailing list