interface-write

Synopsis

(interface-write interface frame)

Parameters

  • interface
  • frame

Description

This procedure writes (injects) a frame (string / byte vector) to the specified interface.

Side Effects

Return Value

If write() returns the number of bytes passed, ok is returned, otherwise #f.

See Also

Example

> (define i (interface-attach "en1"))
i
> (define frame (interface-read i))
frame
> (interface-write i frame)
ok
>