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.
我正在尝试在滑块更改值上使用 TCP/ip 连接发送数据,但连接失败事件直接调用 NSStreamEventErrorOccuer:我正在使用下面的链接进行连接。
http://www.raywenderlich.com/3932/how-to-create-a-socket-based-iphone-app-and-server
Probably your socket is not open, e.g. you have no TCP connection.
On the page you linked is no TCP connection associated with slider change. So it is difficult to give more specific help.
Best, Peter.