Closed lolriven closed 2 years ago
In the onopen callback, the ip length shows a value but the char* ip is just an empty string.
struct us_socket_t *onopen(struct us_socket_t *s, int is_client, char *ip, int ip_length) { printf("\nconnected:%s %i\n",ip,ip_length); return s; }
Unless the ip is supposed to be a sock_addr struct?
In the onopen callback, the ip length shows a value but the char* ip is just an empty string.
Unless the ip is supposed to be a sock_addr struct?