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.
嗨,伙计,我从蓝牙套接字循环读取。每次读取我都使用 myblueSock.getInputStream() 而不保存输入流。就相当于每次打开和关闭socket?
它应该继续返回相同的输入流。它当然不等于每次调用都打开一个新套接字。