[erlang-questions] Local and remote sends

Bob Cowdery <>
Mon Oct 30 16:54:01 CET 2006


Hi

I have a process that usually sends to a CNode, however, for testing I use erlang processes running in the same session. My sends are of the form:
{any, From} ! {GatewayPid}
When I am testing this does not work and gives an argument error on running and I have to change it to:
>From ! {GatewayPid}
Is there some form that will work in both situations?

Thanks
Bob






More information about the erlang-questions mailing list