0
Answer

Socket Bind Error Win7

For MJ

For MJ

14y
3.9k
1
Hi.. I made a program which binds a socket to a broadcast address e.g: "255.255.255.255:5600" and it works in Vista developed with VS 2005.

However the same program would not work in Windows 7. Since I have VS 2010 on my Win7 PC, I converted my project, debugged it and found that the error was: "The requested address is not valid in its context (error code 10049)".

Why can't I bind a socket to a broadcast address in Windows 7?