i don't get what you mean by
i don't see it writing to any file, also removing the
.remove %header | .remove %data
in signal topic.set doesn't do anything, so it looks like it doesn't get to the signal.
hadd %sockname signal topic.set
looks like the signal topic.set needs some input there..
var %err = $1, %sockname = $2, %header = $3, %data = $4
don't know if you need to input some stuff but i basically see that as a alias