[英]Is it possible to use a SocketChannel with a BluetoothSocket on Android
you can make a SocketChannel from a SocketAddress, but suppose you have a BluetoothSocket. 你可以从SocketAddress创建一个SocketChannel,但假设你有一个BluetoothSocket。 How to make a SocketChannel?
如何制作SocketChannel?
不,但您可以通过Channels
类从其输入和输出流中获取ReadableByteChannel
和WriteableByteChannel
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.