Questions tagged [socketrocket]

For questions related to SocketRocket, a WebSocket client for Objective-C

SocketRocket is an open-source WebSocket client for Objective-C.

For more information, see this paper or visit the git-hub site

79 questions
1
vote
1 answer

iOS: SocketRocket - How to implement SSL Handshake

just switched to Websockets in combination with Protobufs. Works like a charm on IOS but I am not sure how to implement SSL Handshake (like with NSURLConnection) via SocketRocket Lib. Has someone experience with that or is it just not yet…
user1788415
1
vote
1 answer

Apple Mach-O Linker Error with the introduction of SocketRocket

I'm using Xcode Version 6.0.1 (6A317)and stuck with Apple Mach-O error for a long time. I get this error once I introduce SocketRocket project. duplicate symbol _OBJC_IVAR_$_AppDelegate._window in: …
arv
  • 41
  • 1
  • 5
1
vote
1 answer

SocketRocket scan network and connect

I'm new to SocketRocket and what I want to do is to scan the network 192.168.1.x and when it finds the server connect to it. this is my code: NSString *seg=@"ws://192.168.1."; NSString *puerto=@":5000"; self.socketReady = NO; for (int…
Zack9807
  • 13
  • 4
1
vote
1 answer

pkyeck socket.IO-objc not sending event to socket.io server

I am using the socket.IO-objc library (https://github.com/pkyeck/socket.IO-objc) in combination with a node server running socket.io, and while I am able to get my iOS client to connect to the server, I can't seem to trigger the message event on the…
user3080098
  • 355
  • 1
  • 5
  • 13
1
vote
1 answer

SocketRocket crashes Node.js WebSocket

I wrote a simple Node.js WebSocket chat server. To run the server, I'm using foreman start with a Procfile that merely contains the line: chat: npm start. I also wrote an iPhone app that uses SocketRocket to connect to the aforementioned server. In…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
0
votes
1 answer

Websockets only PONG responses are received

I have implemented SocketRocket for websocket communication in my app but as this library is too old and archived for now, we decided to implement StarScream which seems to be trustable. However, after my migration from SocketRocket => StarScream, I…
Paresh Thakor
  • 1,795
  • 2
  • 27
  • 47
0
votes
0 answers

SocketRocket IOS Swift unable to re open socket it is crashing

I am using following library for Socket connection https://github.com/facebook/SocketRocket Following is my code to create socket connection socketRocket = SRWebSocket(url: URL(string: streamUrl)!) socketRocket?.delegate = self …
amodkanthe
  • 4,345
  • 6
  • 36
  • 77
0
votes
1 answer

How can I use SocketRocket in a Swift Project?

I'm new in iOS programming and still learning Swift. I'm trying to use SocketRocket library https://github.com/facebook/SocketRocket in a Swift Project in order to connect to my Web Server, created using MAMP, through Web Sockets. I know that there…
JackieNBee
  • 173
  • 3
  • 18
0
votes
1 answer

Build for socketRocket failed

Downloaded socketRocket from GitHub, trying to build it. Getting following error - error: ../SocketRocket-master/Configurations/Shared/Project/Debug.xcconfig: unable to open file (in project "SocketRocket") (in target 'SocketRocket-iOS')
0
votes
1 answer

How to enable SocketRocket logging

Given iOS project written in Swift Uses Facebook's SocketRocket in order to connect websocket: https://github.com/facebook/SocketRocket SocketRocket was installed using CocoaPods Question How to enable logging of SocketRocket? PS Using debugger I…
abekenza
  • 1,090
  • 2
  • 11
  • 19
0
votes
1 answer

SocketRocket library subscribe topic ios

I'm using SocketRocket library: SocketRocket Github for mqtt over websockets. I successfully connected server. let socket = SRWebSocket(url: mUrl, protocols: ["mqtt"], allowsUntrustedSSLCertificates: true) socket.delegate = self socket.open() I…
yusufonderd
  • 3,237
  • 4
  • 21
  • 34
0
votes
0 answers

App crashde when NO Internet connection. Crashed: com.squareup.SocketRocket.NetworkThread

iOS App crashed when the no internet connection available and refresh the app several times. Crashed: com.squareup.SocketRocket.NetworkThread 0 libobjc.A.dylib 0x18332c910 objc_msgSend + 16 1 CoreFoundation …
Bhautik Patoliya
  • 2,573
  • 2
  • 9
  • 12
0
votes
1 answer

How to manually install SocketRocket in telegram app (objective c)?

I'm installed socketRocket in telegram via cocoa pods but Error occurred. how to the right way to install socket rocket via cocoa pods or the best way to install socket rocket in the telegram?
iEhsan
  • 47
  • 1
  • 10
0
votes
1 answer

i need a library on iOS to make a Microsoft directLine-botframework client

has anyone used the SocketRocket library on iOS to make a Microsoft directLine-botframework client? I have tried it but the result is empty. If someone has made a Microsoft directLine-botframework client for iOS, I would like to know what library to…
0
votes
1 answer

Can't run sample code with TestChat from SocketRocket

I'm launching python server, seems it's working OK, but I can't connect to it from iOS TestChat and I'm receiving Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" SocketRocket iOS client python websocket server on Tornado