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

Ben Hood 0x6e6562@REDACTED
Wed Aug 1 00:38:41 CEST 2007


> 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?

Thanks,

Ben



More information about the erlang-questions mailing list