[erlang-questions] Multiple UDP receivers and senders

alexd <>
Fri May 23 15:52:36 CEST 2008


Chandru <> wrote on 23/05/2008 
14:27:53:


> 2008/5/23  <>:
> > Also, does anybody know if it is possible to open a UDP socket in one
> > Erlang process, receiving UDP messages in that process, whilst
> > simultaneously sending UDP messages from the same port in a different
> > Erlang process?
> >
> 
> Yes - this is possible.

Great!

Do I need to do something special? Currently, I get {error, closed} when I 
try it. 

I suppose it's worth mentioning that I'm in two different Erlang VMs here, 
rather than different Erlang processes in the same VM.

Thanks!


Alex.



More information about the erlang-questions mailing list