Android的基本打的欠好,想相识一下这几个类的用法~
mAudioReceiveSocket = new LocalSocket(); try { mAudioLocalServerSocket = new LocalServerSocket("Audio"); mAudioReceiveSocket.connect(new LocalSocketAddress("Audio")); mAudioReceiveSocket.setReceiveBufferSize(500000); mAudioReceiveSocket.setSendBufferSize(500000); mAudioLocalClientSocket = mAudioLocalServerSocket.accept(); mAudioLocalClientSocket.setReceiveBufferSize(500000); mAudioLocalClientSocket.setSendBufferSize(500000); mAudioListenThread = new LocalListenThread(true); mAudioListenThread.start(); }上段代码内里的“Audio” ,是不是要替换成详细的url地点?