FSharp.FIO.Sockets
0.0.40-alpha
This is a prerelease version of FSharp.FIO.Sockets.
dotnet add package FSharp.FIO.Sockets --version 0.0.40-alpha
NuGet\Install-Package FSharp.FIO.Sockets -Version 0.0.40-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.FIO.Sockets" Version="0.0.40-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.FIO.Sockets" Version="0.0.40-alpha" />
<PackageReference Include="FSharp.FIO.Sockets" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FSharp.FIO.Sockets --version 0.0.40-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.FIO.Sockets, 0.0.40-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FSharp.FIO.Sockets@0.0.40-alpha
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FSharp.FIO.Sockets&version=0.0.40-alpha&prerelease
#tool nuget:?package=FSharp.FIO.Sockets&version=0.0.40-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FSharp.FIO.Sockets
TCP socket library for FSharp.FIO, the type-safe functional effect system for F#.
Installation
dotnet add package FSharp.FIO.Sockets
Requires the core FSharp.FIO package.
Features
- Socket Client - Connect to TCP servers with configurable options
- Server Socket - Accept incoming TCP connections
- Connection Pooling - Efficient connection reuse
- Codec Support - Encode/decode messages with custom codecs
Quick Example
open FSharp.FIO.DSL
open FSharp.FIO.Sockets
let client = fio {
use! socket = SocketClient.connect "localhost" 8080
do! Socket.send socket "Hello, server!"B
let! response = Socket.receive socket 1024
return response
}
Documentation
See the FIO repository for full documentation.
License
MIT License - see LICENSE.md
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- FSharp.Core (>= 10.0.102)
- FSharp.FIO (>= 0.0.40-alpha)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.40-alpha | 54 | 1/22/2026 |