--- title: socket package description: > The `socket` package provides tools for returning data from socket connections. menu: flux_v0_ref: name: socket parent: stdlib identifier: socket weight: 11 cascade: introduced: 0.21.0 --- The `socket` package provides tools for returning data from socket connections. Import the `socket` package: ```js import "socket" ``` ## Functions {{< children type="functions" show="pages" >}}