---
name: "sk_stream_wait_connect"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sk_stream_wait_connect"
---

# sk\_stream\_wait\_connect(9)

Wait for a socket to get into the connected state

## NAME

sk\_stream\_wait\_connect - Wait for a socket to get into the connected state

## SYNOPSIS

**int sk\_stream\_wait\_connect(struct sock \*** *sk***, long \*** *timeo\_p***);**

## ARGUMENTS

*sk*

sock to wait on

*timeo\_p*

for how long to wait

## DESCRIPTION

Must be called with the socket locked.

## COPYRIGHT
