cancel
Showing results for 
Search instead for 
Did you mean: 

LWIP - how to choose client to send data in server mode i.e

carlosmarcos
Associate II
Posted on September 21, 2016 at 00:27

Hi all, 

I am using stm32f746disco and working in the LWIP stack, having the provided examples as a guide.

I can receive and transmit data successfully, but only I can send data to the current tcp_pcb running in the callback funtions.

If I have 3 clients, how can I choose to which to send data at any time??

I can't find any kind of accepted concections list.

Thanks in advance

Carlos
1 REPLY 1
Walid FTITI_O
Senior II
Posted on September 21, 2016 at 11:10

Hi m.carlos,

Irecommend that you check the user manual

http://www.st.com/content/ccc/resource/technical/document/user_manual/65/e8/20/db/16/36/45/f7/DM00103685.pdf/files/DM00103685.pdf/jcr:content/translations/en.DM00103685.pdf

''Developing applications on STM32Cube with LwIP TCP/IP stack'', in part '' 4.Developing applications with LWIP stack''.

-Hannibal-