Revert "common: Restrict UDP binding to localhost only"

This reverts commit 29ef2c82db.
This commit is contained in:
Michael Iedema 2016-07-13 05:34:14 -07:00
parent 8f57dd84b3
commit 76b71d509b
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ void UDPSocket::open(unsigned short localPort)
size_t length = sizeof(address);
bzero(&address,length);
address.sin_family = AF_INET;
address.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
address.sin_addr.s_addr = INADDR_ANY;
address.sin_port = htons(localPort);
if (bind(mSocketFD,(struct sockaddr*)&address,length)<0) {
char buf[100];