You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a project that needs to communicate with a WebSocket server. I've looked at the example in the Readme.md file and in main.c but they both seem to be examples for creating a WebSocket listening server and not for setting up a WebSocket client.
After browsing through the headers, it seems that I need to provide a CFSocketNativeHandle object to the creation function WebSocketClientCreate. I'm having trouble understanding what is needed to provide the CFSocketNativeHandle object. I was hoping someone could shed some light on this problem, and also help future users of CoreWebSocket who also want to implement a client. Thanks!
The text was updated successfully, but these errors were encountered:
I'm currently working on a project that needs to communicate with a WebSocket server. I've looked at the example in the
Readme.md
file and inmain.c
but they both seem to be examples for creating a WebSocket listening server and not for setting up a WebSocket client.After browsing through the headers, it seems that I need to provide a
CFSocketNativeHandle
object to the creation functionWebSocketClientCreate
. I'm having trouble understanding what is needed to provide theCFSocketNativeHandle
object. I was hoping someone could shed some light on this problem, and also help future users of CoreWebSocket who also want to implement a client. Thanks!The text was updated successfully, but these errors were encountered: