Skip to content
#

non-blocking

Here are 262 public repositories matching this topic...

Lukasa
Lukasa commented Sep 24, 2020

If you want to work with a complete socket address type including port, we have a helper in SocketAddress. However, the moment you want to talk only about an IP address we force you to hold an in_addr or in_addr6 structure: hardly the friendliest versions of these data types.

We should provide a helpful wrapper IPAddress type that can be converted into those types as needed. This would

enhancement good first issue
pkittenis
pkittenis commented Jan 19, 2021

Is your feature request related to a problem? Please describe.
Would like to be able to use callback function for run_command to call when a command has finished executing.

Describe the solution you'd like

def my_cb(host_out, my_arg):
    for line in host_out.stdout:
        print(line)

client.run_command('echo me', callback=my_cb, callback_extra_args=('my_arg',))

`m

lemunozm
lemunozm commented Jun 21, 2021

Currently, WebSocket is working for client/server side. However, the browsers do not allow to create tcp connections direclty (which is the current implementation based). Instead, the web-sys must be used.

  • Use a different WebSocket implementation if the target is wasm.
  • wasm example of a client.
enhancement good first issue

Improve this page

Add a description, image, and links to the non-blocking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the non-blocking topic, visit your repo's landing page and select "manage topics."

Learn more