CURL.SetOptionTCPFastOpen
-------------------------

Set TCP Fast Open.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionTCPFastOpen"; curl; Value ) 

**MBS**( **"CURL.SetOptionTCPFastOpen";** /\* Set TCP Fast Open. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**) /\* The option value. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The option value. |  |

### Result

Returns OK or error.

### Description

Set TCP Fast Open.  
See also [TCP\_FASTOPEN](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html) option in CURL manual.

Created 15th April 2018 , last changed 16th April 2018

  
[CURL.SetOptionSuppressConnectHeaders](CURLSetOptionSuppressConnectHeaders.md) - [CURL.SetOptionTCPKeepAlive](CURLSetOptionTCPKeepAlive.md)

[HTML Version](CURLSetOptionTCPFastOpen.shtml)