ejabberd - Comments for "Which process read the socket?" https://www.ejabberd.im/node/2956 en Thanks https://www.ejabberd.im/node/2956#comment-52126 <p>Thanks</p> Mon, 07 Apr 2008 02:26:01 +0000 foreverqihe comment 52126 at https://www.ejabberd.im Re: Which process read the socket? https://www.ejabberd.im/node/2956#comment-52125 <div class="quote-msg"> <div class="quote-author"><em>foreverqihe</em> wrote:</div> <p>I see the clause handle_info({Tag, _TCPSocket, Data},<br /> #state{socket = Socket,<br /> sock_mod = SockMod} = State)<br /> looks like receiving the data, is that right? </p></div> <p>Yes. Refer to documentation of gen_server: <noindex><a href="http://www.erlang.org/doc/man/gen_server.html" title="http://www.erlang.org/doc/man/gen_server.html" rel="nofollow" >http://www.erlang.org/doc/man/gen_server.html</a></noindex></p> <div class="quote-msg"> <div class="quote-author"><em>foreverqihe</em> wrote:</div> <p> One more question, the relation between ejabberd_c2s.erl and ejabberd_receiver is 1 to N or N to N? </p></div> <p>It is N to N.</p> Sun, 06 Apr 2008 22:31:08 +0000 xram@jabber.ru comment 52125 at https://www.ejabberd.im