Merge pull request #34 from Sani7/TCP-CMD-Interface-2.0

quick fix
This commit is contained in:
Roelandts_Gert
2023-12-11 13:17:34 +01:00
committed by GitHub

View File

@@ -194,6 +194,7 @@ static err_t tcp_cmd_accept(void* arg, struct tcp_pcb* pcb, err_t err) {
void tcp_cmd_init(void) { void tcp_cmd_init(void) {
struct tcp_pcb* tcp_pcb; struct tcp_pcb* tcp_pcb;
tcp_pcb = tcp_new();
tcp_bind(tcp_pcb, IP_ADDR_ANY, 23); tcp_bind(tcp_pcb, IP_ADDR_ANY, 23);
tcp_pcb = tcp_listen(tcp_pcb); tcp_pcb = tcp_listen(tcp_pcb);