I have a software written in C language which opens a UDP socket to my server through internet.
I use a systemd service approach to run the code at startup. It works fine. But in some cases which I use it in some networks (specially an organization or company network), code runs at OS startup but it can't open socket. When I manually stop and start it using
systemctl command in root access all things is OK.
I put a delay in the code, but the issue still exists