(receive stream . args)

Performs a non-blocking read of stream and returns any input data. The format of this data as well as the availability of any args depends on the type of stream. It is normally not necessary to call this function since establishing a hook using set-receiver! has the same effect. Use receive to read input from multiple ports, or to read data from a stream outside the context of a receiver hook.

See also: