You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bjacobel edited this page Jun 18, 2012
·
1 revision
If for some reason you need the Nao to broadcast to a specific subnet instead of globally like it usually does, look at the function that binds sockets in Comm.cpp. There's a line that sets the bind address struct's member s_addr to INADDR_ANY (which is actually 255.255.255.255). You need to set this value to a subnet mask (for example, 192.168.255.255). The robot will then only broadcast to that subnet.