-
Notifications
You must be signed in to change notification settings - Fork 8
Bit Banger
ksherlock edited this page May 31, 2021
·
1 revision
When a serial port uses the null_modem device, the -bitbanger (-bitb) option is made available.
-bitbanger's argument may be:
-
file-- opens a file -
socket.hostname.port-- Opens a tcp connection. This is raw connection; any protocol (telnet, ssh, etc) needs to be handled by the guest). -
/dev/pty(Apple) or/dev/pts(Unix) -- Attaches it to a new pseudo terminal (pty). I don't believe you can easily determine which pty it is, so usingptydevice directly is a better option. -
domain.pathname(Apple, Unix) -- Opens a UNIX domain socket. -
\\.\pipe\pipename(Win32) -- Opens/Creates a named pipe.
See also: