diff --git a/.paket/Paket.Restore.targets b/.paket/Paket.Restore.targets new file mode 100644 index 0000000..e230bb2 --- /dev/null +++ b/.paket/Paket.Restore.targets @@ -0,0 +1,557 @@ + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + $(MSBuildVersion) + 15.0.0 + false + true + + true + $(MSBuildThisFileDirectory) + $(MSBuildThisFileDirectory)..\ + $(PaketRootPath)paket-files\paket.restore.cached + $(PaketRootPath)paket.lock + classic + proj + assembly + native + /Library/Frameworks/Mono.framework/Commands/mono + mono + + + $(PaketRootPath)paket.bootstrapper.exe + $(PaketToolsPath)paket.bootstrapper.exe + $([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\ + + "$(PaketBootStrapperExePath)" + $(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)" + + + + + true + true + + + True + + + False + + $(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/')) + + + + + + + + + $(PaketRootPath)paket + $(PaketToolsPath)paket + + + + + + $(PaketRootPath)paket.exe + $(PaketToolsPath)paket.exe + + + + + + <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json")) + <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"')) + <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false + + + + + + + + + + + <_PaketCommand>dotnet paket + + + + + + $(PaketToolsPath)paket + $(PaketBootStrapperExeDir)paket + + + paket + + + + + <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)")) + <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)" + <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)" + <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)" + + + + + + + + + + + + + + + + + + + + + true + $(NoWarn);NU1603;NU1604;NU1605;NU1608 + false + true + + + + + + + + + $([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)')) + + + + + + + $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``)) + $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``)) + + + + + %(PaketRestoreCachedKeyValue.Value) + %(PaketRestoreCachedKeyValue.Value) + + + + + true + false + true + + + + + true + + + + + + + + + + + + + + + + + + + $(PaketIntermediateOutputPath)\$(MSBuildProjectFile).paket.references.cached + + $(MSBuildProjectFullPath).paket.references + + $(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references + + $(MSBuildProjectDirectory)\paket.references + + false + true + true + references-file-or-cache-not-found + + + + + $([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)')) + $([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)')) + references-file + false + + + + + false + + + + + true + target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths) + + + + + + + + + + + false + true + + + + + + + + + + + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0]) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1]) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4]) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5]) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[6]) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[7]) + + + %(PaketReferencesFileLinesInfo.PackageVersion) + All + runtime + $(ExcludeAssets);contentFiles + $(ExcludeAssets);build;buildMultitargeting;buildTransitive + true + true + + + + + $(PaketIntermediateOutputPath)/$(MSBuildProjectFile).paket.clitools + + + + + + + + + $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0]) + $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1]) + + + %(PaketCliToolFileLinesInfo.PackageVersion) + + + + + + + + + + false + + + + + + <_NuspecFilesNewLocation Include="$(PaketIntermediateOutputPath)\$(Configuration)\*.nuspec"/> + + + + + + $(MSBuildProjectDirectory)/$(MSBuildProjectFile) + true + false + true + false + true + false + true + false + true + false + true + $(PaketIntermediateOutputPath)\$(Configuration) + $(PaketIntermediateOutputPath) + + + + <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.$(PackageVersion.Split(`+`)[0]).nuspec"/> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.paket/paket.exe b/.paket/paket.exe new file mode 100644 index 0000000..beb315b Binary files /dev/null and b/.paket/paket.exe differ diff --git a/ALANNShell2/Program.cs b/ALANNShell2/Program.cs index 02bcd4c..c1eac9b 100644 --- a/ALANNShell2/Program.cs +++ b/ALANNShell2/Program.cs @@ -13,9 +13,9 @@ namespace ALANNShell public class Shell { static readonly string serverAddr = "127.0.0.1"; - static readonly int serverPort = 5000; + static readonly int serverPort = 50001; static readonly string clientAddr = "127.0.0.1"; - static readonly int clientPort = 5003; + static readonly int clientPort = 50002; static IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Parse(serverAddr), serverPort); static IPEndPoint clientEndPoint = new IPEndPoint(IPAddress.Any, clientPort); diff --git a/ALANNStreams/IO/Network.fs b/ALANNStreams/IO/Network.fs index 6e3c640..fb7d099 100644 --- a/ALANNStreams/IO/Network.fs +++ b/ALANNStreams/IO/Network.fs @@ -28,13 +28,13 @@ open System.Net open System.Net.Sockets open System.Text -let serverAddr = Params.SERVER_ADDR -let clientAddr = Params.CLIENT_ADDR -let serverPort = Params.SERVER_PORT -let clientPort = Params.GUI_CLIENT_PORT -let pongPort = Params.PONG_CLIENT_PORT -let shellAddr = Params.SHELL_ADDR -let shellPort = Params.SHELL_PORT +let serverAddr = "127.0.0.1" +let clientAddr = "127.0.0.1" +let serverPort = 50001 +let clientPort = 50002 +let pongPort = 50003 +let shellAddr = "127.0.0.1" +let shellPort = 50004 let graphiteAddr = Params.GRAPHITE_ADDR let graphitePort = Params.GRAPHITE_PORT diff --git a/paket.lock b/paket.lock new file mode 100644 index 0000000..7b0e97c --- /dev/null +++ b/paket.lock @@ -0,0 +1,39 @@ +NUGET + remote: https://api.nuget.org/v3/index.json + Akka (1.3.14) - restriction: >= net461 + NewtonSoft.Json (>= 9.0.1) + System.Collections.Immutable (>= 1.5) + Akka.Serialization.Hyperion (1.3.14-beta) + Akka (>= 1.3.14) + Hyperion (>= 0.9.8) + Akka.Streams (1.3.14) + Akka (>= 1.3.14) + Reactive.Streams (>= 1.0.2) + Akkling (0.9.3) + Akka (>= 1.3.8) + Akka.Serialization.Hyperion (>= 1.3.8-beta66) + FSharp.Core (>= 4.3.4) + Akkling.Streams (0.9.3) + Akka.Streams (>= 1.3.8) + Akkling (>= 0.9.3) + FSharp.Core (>= 4.3.4) + System.ValueTuple (>= 4.5) + C5 (2.5.3) + CsvHelper (12.1.2) + System.ValueTuple (>= 4.4) + Expecto (8.12) + FSharp.Core (>= 4.3.4) + Mono.Cecil (>= 0.10.3) + FParsec (1.0.4-RC) + FSharp.Core (>= 4.0.0.1) + FSharp.Configuration (2.0) + FSharp.Core (>= 4.0.0.1) + FSharp.Core (4.7) + FsPickler (5.2) + FSharp.Core (>= 3.1.2) + Hyperion (0.9.8) + Mono.Cecil (0.11) + NewtonSoft.Json (12.0.2) + Reactive.Streams (1.0.2) + System.Collections.Immutable (1.5) + System.ValueTuple (4.5)