Searched refs:writed (Results 1 – 1 of 1) sorted by relevance
/AliOS-Things-master/components/websocket/src/ |
A D | rws_socketpriv.c | 492 size_t writed = 0; in rws_socket_send_handshake() local 494 writed = rws_sprintf(ptr, 512, "GET %s HTTP/%s\r\n", s->path, k_rws_socket_min_http_ver); in rws_socket_send_handshake() 497 writed += rws_sprintf(ptr + writed, 512 - writed, "Host: %s\r\n", s->host); in rws_socket_send_handshake() 499 writed += rws_sprintf(ptr + writed, 512 - writed, "Host: %s:%i\r\n", s->host, s->port); in rws_socket_send_handshake() 502 writed += rws_sprintf(ptr + writed, 512 - writed, in rws_socket_send_handshake() 508 writed += rws_sprintf(ptr + writed, 512 - writed, in rws_socket_send_handshake() 515 if (rws_socket_send(s, buff, writed)) { in rws_socket_send_handshake()
|
Completed in 6 milliseconds