[erlang-questions] pid to integer and back

Joel Reymont joelr1@REDACTED
Wed Oct 8 20:10:33 CEST 2008


On Oct 8, 2008, at 5:54 PM, Hynek Vychodil wrote:

> Use term_to_binary and just remove starting 131, 130 and following  
> node
> information, you take 9 bytes and use this. Or you can get only ID  
> part
> which is only 4bytes.

That would work. I have a question, though... Under what conditions  
can the serial portion of the PID change? That would be the Z in  
<X.Y.Z>.

	Thanks, Joel

--
wagerlabs.com








More information about the erlang-questions mailing list