|
-
March 20th, 2013, 05:47 AM
#27
Re: getting a binding error in server program
 Originally Posted by beginner91
i was told to use it. its a requirement
The first "requirement" for you is reading the documentation!
Understand?
If you read the documentation about INADDR_BROADCAST you'd know that it is used to send a broadcast (see http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx)
To receive the broadcasts socket uses INADDR_ANY (see the http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx)
Last edited by VictorN; March 20th, 2013 at 05:53 AM.
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|