Description Usage Arguments Value Author(s) See Also
A 'sockclientconn' object is created that opens a connection from R to a SciViews socket client (that must be currently connected).
1 2 3 4 5 |
client |
the client identification. By default, it is the socket
identifier as it appears in |
serverport |
the port on which the server is running, 8888 by default. This server must be currently running. |
socket |
the Tcl socket name where the targetted client is connected. If
not provided, it will be guessed from |
blocking |
logical. Should the connection wait that the data is written before exiting? |
open |
character. How the connection is opened. Currently, only
|
encoding |
the name of the encoding to use. |
object |
A 'sockclientconn' object as returned by
|
... |
further arguments passed to the method (not used for the moment). |
socketClientConnection()
creates a 'sockclientconn' object redirects
text send to it to the SciViews socket server client. It is inherits from a
'sockconn' object (see socketConnection()
), and the only difference is
that output is redirected to a Tcl socket corresponding to a given SciViews
socket client currently connected.
Philippe Grosjean (phgrosjean@sciviews.org)
socketConnection
, sendSocketClients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.