Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道如何处理 exmpp 库中的连接丢失情况吗?
欢迎任何例子!
因此,您所要做的就是在接收循环中添加条件。像这样的东西:
receive % Here is you code {stream_error,'system-shutdown'} -> do_something; % Here is you code end.