how can i have multi user on one port in tcp socket?

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i have multi user on one port in tcp socket?

285 Views
navidansari
Contributor III

hi

I have lpc1768 and  DP83848CVV  as Ethernet PHY

till now i open tcp socket on port 2000 and one user can connect to it and send and recieve data fine

TCP_sock = TCPOpenSocketOn(2000) ;

now I want to be able to connect more than one user 

how can i do that?

Labels (2)
Tags (2)
0 Kudos
4 Replies

116 Views
soledad
NXP Employee
NXP Employee

Hi,

Please check the below link and let me know if this helps,

tcp server example - | Mbed 


Have a great day,
Soledad

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

116 Views
navidansari
Contributor III

not even close

0 Kudos

116 Views
soledad
NXP Employee
NXP Employee

Are you using LPCOpen?

0 Kudos

116 Views
navidansari
Contributor III

im using keil

0 Kudos