cancel
Showing results for 
Search instead for 
Did you mean: 

Create two TCP servers on stm32

Steven Bébin
Associate III
Posted on May 15, 2018 at 15:38

Hello,

I'm trying to create two TCP servers on the STM32F767ZI microcontroller. I created my first server which is a WEB server (port 80). And now I would like to add a second TCP server (port 502). I created a second thread thinking that it was working and unfortunately, no. 

If you can enlighten me on this subject which is for me new.

Init servers

0690X0000060KhRQAU.png

Webserver

0690X0000060Kd1QAE.png

Other server

0690X0000060KhgQAE.png

Thank you in advance,

Steven.

#server #tcp #web
2 REPLIES 2
Steven Bébin
Associate III
Posted on May 15, 2018 at 15:40

I forgot to say that my two servers works, but not simultaneously.

Steven Bébin
Associate III
Posted on May 15, 2018 at 17:03

I found how to do it, we need to change the stacksize of a heart, decrease it.