For MJ

For MJ

  • NA
  • 1
  • 0

Socket Bind Error Win7

Jun 21 2010 7:54 PM
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?