Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Intel compatibility
  • Loading branch information
smeger committed Jan 17, 2006
1 parent f52d69d commit 9d77dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ListenerController.m
Expand Up @@ -168,7 +168,7 @@ - (BOOL)startListenerOnPort:(int)port withProfile:(Profile*)profile localOnly:(B
memset(&serverAddress, 0, sizeof(serverAddress));
serverAddress.sin_family = AF_INET;
serverAddress.sin_addr.s_addr = htonl(local ? INADDR_LOOPBACK : INADDR_ANY);
serverAddress.sin_port = port;
serverAddress.sin_port = htons(port);

if (
setsockopt(fdForListening, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes))
Expand Down

0 comments on commit 9d77dce

Please sign in to comment.