MYNetwork
MYNetwork copied to clipboard
Mooseyard Networking library: Cocoa utilities, including a generic TCP server/client, plus the reference implementation of the message-oriented BLIP protocol. (This is a mirror of the Mercurial reposi...
I spent some time tracking this down (since I wasn't happy with the solution other contributors had suggested (see #9 ), and I believe I understand the issue and implications....
In `BLIPMessage.m` `_receivedFrameWithFlags: body:` line 365: `if( self.compressed && encodedLength>0 ) {` `self.compressed` refers to `_flags` which has not been updated with the flags passed into the method and therefore...
kTCPPropertySSLAllowsAnyRoot (used in TCPEndPoint.m) and kCFStreamPropertySSLPeerCertificates (used in TCPStream.m) have been deprecated in OSX 10. Can you suggest alternatives/replacements?
The declaration of _kCFStreamPropertySSLClientSideAuthentication in TCPStream.m causes a review rejection for my Mac app. Has not been a problem for at least 5 months, but now it is. Grrrr ```...
When I start a MYNetwork and subsequently stop the network service (code below) and put the iOS app into background, when I reactivate the app, MYNetwork logs a ton of...
The socket context makes the CFSocket retain and release its owner, why? CFSocketContext ctxt = { 0, (__bridge void *)(self), CFRetain, CFRelease, NULL }; there should be no reason to...
When I'm lauching a listener, shut it down and launch it again, the call to [listener open] never returns. It seems deadlocked with thread 6. Complete backtraces of all threads...
I had to undo all the array and dictionary subscripting to get it to compile but I guess that my problem (I have to use the 10.7 base SDK).
In - (NSData_) nextWebSocketFrameWithMaxSize: (UInt16)maxSize moreComing: (BOOL_)outMoreComing on line 300 the return value should be nil instead of NO. The compiler complains: BLIPMessage.m:300:16: Implicit conversion of 'BOOL' (aka 'signed char')...