mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
23 lines
379 B
C
23 lines
379 B
C
/*
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
|
*/
|
|
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
esp_err_t tcp_server_wait_for_connection(void);
|
|
|
|
esp_err_t tcp_server_send(uint8_t *payload, size_t size);
|
|
|
|
void tcp_server_close_when_done(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|