couchbaselabs / BLIP-Cocoa

Implementation of the BLIP messaging protocol, for iOS and Mac OS X
Apache License 2.0
14 stars 8 forks source link

Usage? #2

Open fieryo opened 8 years ago

fieryo commented 8 years ago

Would you please add a simple code how to use this library? Short usage code as this one in PocketSocket ReadMe is enough.

Currently, I successfully added PocketSocket to my project (with server/client initialization and delegates). But I need some wrapper with a message queue like this one in the BLIP-Cocoa project. However, I can't figure using the BLIP protocol, how to open a socket, send strings (by some queue) and then close the socket after the last message.

tleyden commented 6 years ago

@fiery- I just dusted off some usage examples for go-blip, in case this helps:

https://github.com/couchbase/go-blip/pull/1#issuecomment-341263969