- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am using version 4.1.0
I am new to ThreadX.
I have implemented tcp client-server communication.Its working fine.I want to implement a scenario where a single client can handle multiple servers.
For this I want to use wiced_tcp_register_callbacks() in the tcp_client mode to manage multiple servers.
can anyone help me to implement this case?
Regards,
Mounika.
Solved! Go to Solution.
- Labels:
-
TCPIP
-
Wi-Fi Direct
-
Wifi+Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If there are multiple TCP servers, each server shall have a unique socket. You need to call wiced_tcp_register_callbacks() corresponding to each TCP server containing corresponding callback functions and corresponding TCP socket instance. You can use wiced_tcp_connect() to connect to a particular TCP server where you need to specify the parameters specific to that server port. Let me know if you need further information. Regarding SDK version, I would recommend you to move to the latest version 5.0.1 of WICED SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If there are multiple TCP servers, each server shall have a unique socket. You need to call wiced_tcp_register_callbacks() corresponding to each TCP server containing corresponding callback functions and corresponding TCP socket instance. You can use wiced_tcp_connect() to connect to a particular TCP server where you need to specify the parameters specific to that server port. Let me know if you need further information. Regarding SDK version, I would recommend you to move to the latest version 5.0.1 of WICED SDK.