We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a8fec8 commit 935c792Copy full SHA for 935c792
ios/TcpSocketClient.m
@@ -123,7 +123,7 @@ - (BOOL)listen:(NSString *)host port:(int)port error:(NSError **)error
123
124
// GCDAsyncSocket doesn't recognize 0.0.0.0
125
if ([@"0.0.0.0" isEqualToString: host]) {
126
- host = @"localhost";
+ host = nil;
127
}
128
BOOL isListening = [_tcpSocket acceptOnInterface:host port:port error:error];
129
if (isListening == YES) {
0 commit comments