| Message | Cause | What to do |
UDPSocketDriver: <name> WSAStartup failed with error: <n> (Windows) | The Windows socket library could not be initialized. | Unusual; check that the Winsock service / network stack is working, reboot. |
UDPSocketDriver: <name> socket() failed with error code: <n> (Linux: socket() failed) | The operating system refused to create the UDP socket. | Check resource limits (open files), permissions, and that the network stack is enabled. |
UDPSocketDriver: <name> Invalid IP address <ip> | The remoteIPBind value is not a valid IPv4 address. | Use dotted IPv4 notation, for example 192.168.1.10. Host names are not accepted. |
UDPSocketDriver: <name> Bind failed Address in use <ip>:<port> (Windows error 10048) | Another program or another stream already uses that local UDP port (a second CoreEngine, the IG simulator on the same PC, another stream of the project). | Choose a free localPort (or remotePortBind). If the IG runs on the same PC, use different ports for host and IG. Find the owner with netstat -ano -p udp. |
UDPSocketDriver: <name> Bind failed <ip>:<port> with error code: <n> (Linux: without the code) | The bind failed for another reason: localIP is not an address of this machine (10049 on Windows), or the port needs privileges (port below 1024 on Linux). | Use an address from the "?" adapter list, or an empty localIP if the driver accepts any; use ports above 1024. |
UDPSocketDriver: <name> Could not create socket: <ip>:<port>, error code <n> | Creating/binding the receiving socket failed. | As the two messages above; check the address and port values and the Windows error code. |
UDPSocketDriver: <name> non blocking setup failed <ip>:<port> | The socket could not be switched to non-blocking mode. | Rare; restart, check that no security software interferes with sockets. |
UDPSocketDriver: <name> recvfrom() failed. not bind (Windows error 10022) | A receive was attempted on a socket that is not bound (the bind failed earlier). | Fix the earlier bind error. |
UDPSocketDriver: <name> recvfrom() failed. message send too large (check stream block size, current used is <n> bytes) | The IG sent a datagram bigger than the receive buffer (the block size of the stream). | Increase the input block size so a whole CIGI datagram fits (the driver itself reads up to 65535 bytes at a time), or reduce the number of packets the IG puts in one frame. |
UDPSocketDriver: <name> recvfrom() failed with error code: <n> (Linux: recvfrom() failed, ... not connected, ... message too large) | Receive error from the operating system (the code tells which). | Check the network adapter and that nobody disabled it while running; see the Windows Sockets error list for the code. |
UDPSocketDriver: '<name>' not initialized | A packet was sent while the socket does not exist: the earlier open (bind / socket) failed. | Fix the first error that was printed at start-up. |
UDPSocketDriver: <name> sendto() failed with error code: <n> (Linux: sendto() failed) | The send failed: no route to the remote IP (10051), network unreachable, adapter down, or the remote address is a broadcast address without permission. | Check remoteIP and the routing / subnet of the adapter. UDP does not tell you whether the IG is listening. |
Stream '<name>': block '<block>': timing <N>us > system minor frame <M>us; data may be lost. (warning) | An input block has a numeric framePerMS longer than the minor frame: IG packets arrive faster than they are read. | Use "framePerMS": -1 for input blocks (read every minor frame); 0 disables the block. See the note on framePerMS. |
| Check | What to look for | Fix |
| Ports mirrored | Host sends from localPort side to the IG's listening port; the IG answers to the host's listening port. | Our remotePort = the IG's receive port; our localPort = the IG's send (destination) port. If the example in streams.html says 8015 / 8014, the IG needs 8014 / 8015 in the other order. |
| IP addresses | remoteIP is the IG PC; localIP is this PC's adapter on the same subnet (or empty). | Use the "?" listing for the adapter. With several adapters (Wi-Fi, VPN, virtual switches) the wrong one is chosen by the OS when the address is empty: set localIP / remoteIPBind explicitly. |
| Firewall | Packets are visible in Wireshark at the network adapter but msgCounter stays at 0. Windows Defender Firewall drops inbound UDP for programs it does not know. | Allow the CoreEngine executable (and UDP localPort) inbound on the right network profile (Private / Domain). On the IG side allow its receive port. |
| IG not started or in standby | No datagrams leave the IG at all. | Start the IG and set it to its CIGI host-control mode; many IGs only send SOF packets after they received the first IG Control from the host. |
| Loopback on the same PC | Host and IG on one PC, both default to the same port; one bind fails (“Address in use”). | Use 127.0.0.1 for both IPs and two different ports. |
| Block never executes | Input block with framePerMS: 0. | Use -1. |
| Symptom | Cause | Fix |
| IG shows no entity / the view does not move | CIGI version mismatch; IG still in Reset instead of Operate (the 3.3 helper sends IG Control with mode Reset); entity ID differs from the one the IG expects; wrong coordinates (latitude and longitude in degrees, altitude in metres, angles in degrees). | Set the IG to the CIGI version the project sends; check the IG mode, entity ID and the units in the sending block. |
| Position jumps or lags | IG frame rate and host rate differ; the block is sent at a slower rate than the IG expects, or data arrives in bursts through a busy network / Wi-Fi. | Send every frame at the IG's rate; use a wired, dedicated network; keep the host frame counter increasing by one. |
| Packets partially missing / large scenes | The datagram is larger than the network MTU (about 1472 bytes of UDP payload) and is fragmented; fragments are dropped by some switches / firewalls. | Send fewer packets per datagram, or enable jumbo frames end to end. |
| Works on the bench, not in the lab | Different subnet or VLAN; router / firewall blocks UDP; broadcast / multicast not forwarded. | Use a unicast address on the same subnet, or open the ports in the firewall between the subnets. |
| Message “Bind failed” after a restart | The previous CoreEngine process is still running (the port is held). | End the old process (Task Manager) and start again. |
| Streams with "TCPSocketDriver" instead of UDP | CIGI over TCP is not this driver; only CIGIDriver (UDP) decodes CIGI. | See Socket Drivers UDP / TCP for the TCP fields and messages. |