send

send given message to selected socket or channel


Parameters

send destination :socket :channel
     message :any

Attributes

chunk don't send data as a line of data

Returns

  • :nothing

Examples

copy
; connect to a local server on port 256 socket: connect.to:"localhost" 256 ; send a message to the server send socket "Hello Socket World"

copy
; send a value through a channel Jobs: channel 'jobs send Jobs 42

Related