Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/TcpSocketClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ - (BOOL)listen:(NSString *)host port:(int)port error:(NSError **)error

// GCDAsyncSocket doesn't recognize 0.0.0.0
if ([@"0.0.0.0" isEqualToString: host]) {
host = @"localhost";
host = nil;
}
BOOL isListening = [_tcpSocket acceptOnInterface:host port:port error:error];
if (isListening == YES) {
Expand Down