Thank you for response.

NuttX had TLS functionality, so I enabled it and added to config.nims
    
    
    switch "tlsemulation", "on"
    
    
    Run

but it did not work.

I ran it with a console and Telnet login.

As soon as I run the second one, both stop and when I run them again, I get the 
following error
    
    
    nsh> hello_nim
    hello_nim_async.nim      hello_nim
    asyncdispatch.nim(2022)  waitFor
    asyncdispatch.nim(1711)  poll
    asyncdispatch.nim(1408)  runOnce
    ioselectors_epoll.nim(379) selectInto
    hello_nim_async.nim      hello_nim
    asyncdispatch.nim(2022)  waitFor
    asyncdispatch.nim(1711)  poll
    asyncdispatch.nim(1408)  runOnce
    ioselectors_epoll.nim(387) selectInto
    assertions.nim(287)      raiseIOSelectorsError
    Error: unhandled exception: Bad file number (code: 9) [IOSelectorsException]
    
    
    Run

I am currently running the same command (which internally executes one 
function), but I will try a different command to see what happens. 

Reply via email to