tass-belgium / picotcp-modules

Application level modules to run on top of the popular Embedded picoTCP TCP/IP stack
GNU General Public License v2.0
8 stars 11 forks source link

Websocket-bsd client waits forever without sending SYN #16

Open lmicverm opened 7 years ago

lmicverm commented 7 years ago

I am trying to run the pico_websocket_client from the websocket-bsd folder. I included the files in my own project without any adaptation. In my own file, I call the method ws_connect("ws://104.196.190.195:80", NULL, NULL) after I requested an IP address from the dhcp server. This works until the tcp 3-way handshake should occur. In pico_connect, it calls pico_bsd_wait and then it waits forever, without sending any SYN. If I debug it, I see that the remote port and addr are correct and that it correctly enqueues it in pico_socket.c. Should I do any adaptations to make this client work? I am using freertos as OS.