要启动与客户的共同浏览会话,客户服务代表可以访问的一个页面必须有一种方法来监听进入的呼叫并发起这样的会话。
To start a co-browsing session with the customer, a page accessible by the customer service rep must have a way to listen for incoming calls and initiate such sessions.
清单2是一个示例,显示如何在调试模式下启动VM并监听端口8765的套接字连接。
Listing 2 shows an example of how to launch a VM in debug mode and listen for a socket connection at port 8765.
创建所需的网络监听套接字,注册在执行期间要调用的事件,然后启动主事件循环,让libev处理过程的其余部分。
You create the necessary network listening sockets, register the events to be called during execution, and then start the main event loop with the libev handling the rest of the process.
应用推荐