Issue I'm seeming to have is timeout never occurs upon false connections. the
main point is to grab the ssh version.
import asyncnet, asyncdispatch, strutils, random
var
serVer: string
port = "22"
output = ""
proc genAddr(): string =
randomi
Appreciate your response, I'll try to implement this and see if I can get a
working sample to show.
[https://github.com/treeform/ws/blob/master/tests/sender_3.nim](https://github.com/treeform/ws/blob/master/tests/sender_3.nim)
import ws, asyncdispatch, asynchttpserver, httpclient
# Create three sockets and read from each of them asynchronously
var numOpenWs = 0
IMO, those links are too theoretical and you most probably need domain
knowledge and actual use cases to know the best data structures to represent
Frames.
Looking around you can probably re-use OO techniques though:
[https://en.wikipedia.org/wiki/Frame_language#Comparison_of_frames_and_objects
I've attempted several approaches with this including trying to mix threads and
async.
what would be the best way to say send connect three sockets and read from each
of the asynchronously?
*
[https://en.wikipedia.org/wiki/Frame_(artificial_intelligence](https://en.wikipedia.org/wiki/Frame_\(artificial_intelligence))
*
[https://web.media.mit.edu/~minsky/papers/Frames/frames.html](https://web.media.mit.edu/~minsky/papers/Frames/frames.html)
What is the right code for implement
Disabling GC and threads looks like a crutch. It is very strange not to use any
achievements of the last twenty years in OS construction, as most of them
available for free in source code. Maybe will something like FreeRTOS be great
as a base for OS written in Nim?
If you disable the garbage collector and does some tweaks Nim is able to run on
microcontrollers such as an Arduino or Attiny85. So it's definitely possible to
run bare metal. There has even been an OS demonstrator written in Nim:
[https://github.com/dom96/nimkernel](https://github.com/dom96/nim
Flutter + Dart = bright future
([https://www.cleveroad.com/blog/flutter-ui-framework](https://www.cleveroad.com/blog/flutter-ui-framework))
But Flutter + Nim ... I don't think so