|
|
@ -193,8 +193,8 @@ void grpc_tcp_client_connect(grpc_exec_ctx *exec_ctx, grpc_closure *on_done, |
|
|
|
|
|
|
|
|
|
|
|
grpc_sockaddr_make_wildcard6(0, &local_address); |
|
|
|
grpc_sockaddr_make_wildcard6(0, &local_address); |
|
|
|
|
|
|
|
|
|
|
|
status = |
|
|
|
status = bind(sock, (struct sockaddr *)&local_address.addr, |
|
|
|
bind(sock, (struct sockaddr *)&local_address.addr, (int)local_address.len); |
|
|
|
(int)local_address.len); |
|
|
|
if (status != 0) { |
|
|
|
if (status != 0) { |
|
|
|
error = GRPC_WSA_ERROR(WSAGetLastError(), "bind"); |
|
|
|
error = GRPC_WSA_ERROR(WSAGetLastError(), "bind"); |
|
|
|
goto failure; |
|
|
|
goto failure; |
|
|
|