[erlang-questions] Sending message to process already listening on a socket

Chandru <>
Wed Aug 1 01:12:40 CEST 2007


On 31/07/07, Ben Hood <> wrote:
> > If you use the socket option {active, once} you will
> > get the TCP data in the process mailbox. See the
> > man pages for inet and gen_tcp.
>
> Great! Can I assume that this works irrespective of which peer
> initiated the tcp connection, i.e. if I have a client side loop (the
> peer that connected to the server socket) that is receiving frames
> from the server?
>

Yes.

Chandru



More information about the erlang-questions mailing list