Skip to content
This repository was archived by the owner on Dec 19, 2021. It is now read-only.
This repository was archived by the owner on Dec 19, 2021. It is now read-only.

CRVStompClient with GCDAsyncSocket #15

@ghost

Description

I have implemented CRVStompClient in addition of GCDAsyncSocket by robbiehanson. When the GCDAsyncSocketDelegate method - (void)socket:(GCDAsyncSocket *)sock didConnectToHost:(NSString *)host port:(UInt16)portis called, the app crashs in the following line.

CFTypeRef ref = CFReadStreamCopyProperty(readStream, kCFStreamPropertySSLPeerCertificates);

In this Line, Xcode says readStream is 0x0.

Does anyone have/had the same issue? I would like to solve this quickly. In case someone would like to read the hole code, don't hesitate to ask for it.

I've uploaded an Demo Version of my Code on Github.
https://github.com/DanielBocksteger/objc-stomp

Best regards,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions