CURL.SetOptionEGDSocket
-----------------------

Sets a path name to the Entropy Gathering Daemon socket.

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

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "CURL.SetOptionEGDSocket"; curl; Value { ; Encoding } ) 

**MBS**( **"CURL.SetOptionEGDSocket";** /\* Sets a path name to the Entropy Gathering Daemon socket. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**; /\* The path to the socket.e.g. "" \*/   
**$Encoding**) /\* Optional; The text encoding for text parameter.   
Default is UTF-8.e.g. "UTF8" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| curl | The CURL session handle. | $curl |  |
| Value | The path to the socket. | "" |  |
| Encoding | The text encoding for text parameter.    Default is UTF-8.   Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the [FAQ](https://www.monkeybreadsoftware.com/filemaker/faq.shtml). | "UTF8" | Optional |

### Result

Returns "OK" on success.

### Description

Sets a path name to the Entropy Gathering Daemon socket.   
It will be used to seed the random engine for SSL.  
### Release notes

- **Version 13.0**
    - Deprecated [CURL.SetOptionEGDSocket](https://www.mbsplugins.eu/CURLSetOptionEGDSocket.shtml), [CURL.SetOptionSSLEnableNPN](https://www.mbsplugins.eu/CURLSetOptionSSLEnableNPN.shtml), [CURL.SetOptionSocks5GSSAPIService](https://www.mbsplugins.eu/CURLSetOptionSocks5GSSAPIService.shtml) and [CURL.SetOptionRandomFile](https://www.mbsplugins.eu/CURLSetOptionRandomFile.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.0pr5](https://www.mbsplugins.de/archive/2023-01-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

Created 18th August 2014 , last changed 21st December 2022

  
[CURL.SetOptionDisallowUserNameInURL](CURLSetOptionDisallowUserNameInURL.md) - [CURL.SetOptionExpect100TimeoutMS](CURLSetOptionExpect100TimeoutMS.md)

[HTML Version](CURLSetOptionEGDSocket.shtml)