Hello, I have a new project and I need to connect to a TCP socket using the URL instead of an explicit IP address, myendpoint@mydomain.com
Which library is best suited for this? This is for a new enterprise project, the endpoint is a server in a datacenter running some real time application. We have big IP, it will automatically reassign the IP address to the backup server if a crash occurs so an explicit IP won't work for me. I've done this in RS logix, working now to migrate that code over to codesys.
Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been searching through these libraries, syssocket and net base services and they all seem to use the same structure for IP address for the connect function, SOCKADDRESS. At a glance, it doesn't look like that'll work, maybe it's just missing in the documentation somewhere?? I'm wondering if anyone has done it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have a new project and I need to connect to a TCP socket using the URL instead of an explicit IP address, myendpoint@mydomain.com
Which library is best suited for this? This is for a new enterprise project, the endpoint is a server in a datacenter running some real time application. We have big IP, it will automatically reassign the IP address to the backup server if a crash occurs so an explicit IP won't work for me. I've done this in RS logix, working now to migrate that code over to codesys.
Thanks in advance!
hi,
maybe Net Base Services
https://forge.codesys.com/prj/codesys-example/nbs/home/Home/
I've been searching through these libraries, syssocket and net base services and they all seem to use the same structure for IP address for the connect function, SOCKADDRESS. At a glance, it doesn't look like that'll work, maybe it's just missing in the documentation somewhere?? I'm wondering if anyone has done it.