Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Remote

Remote link is used to connect to a remote server or an AUTD simulator.

Install

cargo add autd3-link-remote
target_link_libraries(<TARGET> PRIVATE autd3::link::remote)

Included in the main library.

Included in the main library.

Included in the main library.

APIs

In the constructor of Remote, specify the ip address and port number of the server. You can also specify the timeout as an option.

use autd3_link_remote::{Remote, RemoteOption};

fn main() -> Result<(), Box<dyn std::error::Error>> {
let _ = 
Remote::new("127.0.0.1:8080".parse()?, RemoteOption { timeout: None });
Ok(())
}
#include <optional>

#include "autd3/link/remote.hpp"

int main() {
using namespace autd3;
link::Remote("127.0.0.1:8080", link::RemoteOption{.timeout = std::nullopt});
return 0; }
using System.Net;
using AUTD3Sharp.Link;

new Remote(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8080), new RemoteOption
{
    Timeout = null,
});
from pyautd3.link.remote import Remote, RemoteOption

Remote("127.0.0.1:8080", RemoteOption(timeout=None))