我正在尝试使用示例应用程序“pcp”在不同目录之间发送文件。步骤如下:
- 通过 /tmp/test1/pcp account@gmail.com 运行接收器
- 通过 /tmp/test2/pcp account@gmail.com a.txt account@gmail.com/(full JID):a.txt 运行发件人
运行发送方时,我总是在接收方收到“总线错误:10”。
我还尝试在 --verbose 选项中运行并获得更多信息。如下:
[173:339] TunnelSessionClientBase::OnSessionCreate: received=1
[173:342] Session:12662708465646360189 Old state:STATE_INIT New state:STATE_RECEIVEDINITIATE Type:http://www.google.com/talk/securetunnel Transport:http://www.google.com/transport/p2p
[173:343] TunnelSession::OnSessionState(Session::STATE_RECEIVEDINITIATE)
IncomingTunnel from theeraphol.wat@gmail.com/pcpC89CFD53: recv:b.txt
[173:343] Session:12662708465646360189 Old state:STATE_RECEIVEDINITIATE New state:STATE_SENTACCEPT Type:http://www.google.com/talk/securetunnel Transport:http://www.google.com/transport/p2p
[173:343] TunnelSession::OnSessionState(Session::STATE_SENTACCEPT)
Bus error: 10
我究竟做错了什么?