How to solve socket -23 error while creating multiple server in nRF9160

Hi Support team,

I am  using nRF9160 module and i want run two server on the module, one is modbus server and other is CoAP server. so is it possible to run both server simultaneously ?

Thanks,

Dvl

Parents
  • Hi Dejan Simonovic, thanks for the effort and sorry for the confusion

    1. Please let me know how you are building the code, for your information I am building using VS code.

    2. Please use below sample for DK,

    CoAPAndTCPServer_v0.0.zip

    Please Note that you need to change the IP address with your SIM IP address, you can replace your IP address at STATIC_IP_STR define in CoAP.h file.

    FYI, I am using SIM card with Public Static IP

    I hope this might work

    thanks,

    Dvl

Reply
  • Hi Dejan Simonovic, thanks for the effort and sorry for the confusion

    1. Please let me know how you are building the code, for your information I am building using VS code.

    2. Please use below sample for DK,

    CoAPAndTCPServer_v0.0.zip

    Please Note that you need to change the IP address with your SIM IP address, you can replace your IP address at STATIC_IP_STR define in CoAP.h file.

    FYI, I am using SIM card with Public Static IP

    I hope this might work

    thanks,

    Dvl

Children
No Data
Related