TCP Server with Multiple Ports
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-14 5:05 AM
Hello,
How can I configure a multiple clients (pc and sensor) to a TCP server (the sttm board)?
I define the stmf4 board to server with the library lwip and client for pc.
I opened a socket configured IP and port of PC only and the connection worked (between the server and the client).
And now I want to add another client (the sensor), how can I configure the sensor (client), I need to define only a new port or define a new IP & port?
Labels:
- Labels:
-
Ethernet
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-14 8:08 AM
Learn the basics of TCP/IP networking and look at examples:
