[riot-notifications] [RIOT-OS/RIOT] TCP lwIP Error Connecting Sock Problem (#11910)
notifications at github.com
Wed Jul 24 19:35:48 CEST 2019
> (I took the freedom to edit OP for better readability)
Thanks for your help.
> > I took the freedom to edit OP for better readability
> Thanks, @mmaxus35 has still problems with the markup language 😉
> Yes, the current ESP8266 port has problems with the `lwIP` package. That's why all ESP8266 boards are blacklisted. BTW, with the complete reimplementation of the ESP8266 port in PR #11108 which is waiting for review, it will not be a problem any longer.
> But, there shouldn't be any problem with ESP32 and `lwIP`. The problem seems not to be related to the ESP32 board. According to @mmaxus35, the board has WiFi connectivity. He can ping the board and the UDP lwIP socket example works.
> @mmaxus35 Are you sure that your TCP server is running on `fe80::4c2c:2f99:9ae8:73cb` and is listening at port `12345`? Can you see an according entry when you use command
> netstat -tulpen
> on this machine?
Of course, fe80::4c2c:2f99:9ae8:73cb is running in Java in my Windows PC adnd i can send packets using another programs like "Packet Sender" and they are received and messages displayed to screen. Here is the java code that i use
public static void main(String argv) throws Exception
ServerSocket welcomeSocket = new ServerSocket(12345);
Socket connectionSocket = welcomeSocket.accept();
BufferedReader inFromClient =
new BufferedReader(new InputStreamReader(connectionSocket.getInputStream()));
DataOutputStream outToClient = new DataOutputStream(connectionSocket.getOutputStream());
clientSentence = inFromClient.readLine();
System.out.println("Received: " + clientSentence);
capitalizedSentence = clientSentence.toUpperCase() + '\n';
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications