Simple
-
F# Async TCP Server Simple ExampleF# 2021. 1. 2. 18:59
[Original Source] http://www.fssnip.net/1E/title/Async-TCP-Server [Modifed] .net core에서 컴파일되도록 일부 수정한 코드입니다. (Option type 적용등) 작동 확인 : 2021-01-02 open System open System.Net open System.Net.Sockets open System.Threading type Socket with member socket.AsyncAccept() = Async.FromBeginEnd(socket.BeginAccept, socket.EndAccept) member socket.AsyncReceive(buffer: byte [], ?offset, ?count) = let offset ..