This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/LAUNCHCC3220MODASF: file.cmd and tcp socket

Part Number: LAUNCHCC3220MODASF

Tool/software: Linux

Hi Support,

I want ask:

1.CC3220SF_LAUNCHXL_TIRTOS.cmd  can I modify again? If maybe modify ,how to modify?

2.if have one board cc3220 do server and  two board cc3220 other do client :

   + Ex:  two board cc3220  client  same time connect to board cc3220 server .

Which client will be connected first.

How server know number client  want connect server.

Thanks 

Nguyen

  • Hi Nguyen,

    - Sure, you can modify linker (*.cmd) file. Introduction to *.cmd file you find here software-dl.ti.com/.../sdto_cgt_Linker-Command-File-Primer.html
    - In case that you want have multiple connection with TCP server, your server code need to be designed for this purpose. That means one listening socket and multiple client sockets. Number of simultaneous connection to TCP server is according of number of client sockets.

    It does not exist something like at same time. First will be connected client which comes first. Server cannot know count of client which want to connects in the future. Server can only accept or refuse connection at moment when client tries to connect.

    Jan