TCP/WS connection events handler #761
Replies: 4 comments
-
int websock_connect(struct websock_conn **connp, struct websock *sock,
struct http_cli *cli, const char *uri, unsigned kaint,
websock_estab_h *estabh, websock_recv_h *recvh,
websock_close_h *closeh, void *arg,
const char *fmt, ...) Normaly |
Beta Was this translation helpful? Give feedback.
-
@sreimers I checked |
Beta Was this translation helpful? Give feedback.
-
Can you provide a full code example, its hard to guess which APIs you use. |
Beta Was this translation helpful? Give feedback.
-
@sreimers At the moment, I am using sip_transp_add_websock, sipreg_alloc, sipreg_unregister, sipsess_connect/info/abort apis. |
Beta Was this translation helpful? Give feedback.
-
Hi All
I am trying libre in macOS. I am trying to understand whether there is any handler that gets called when TCP/WS connection is abruptly closed by the server. I don't seem to find any.
Any pointers are appreciated.
Beta Was this translation helpful? Give feedback.
All reactions