Description Usage Arguments Author(s) See Also
The socket servers asks to clients to nicely disconnect (possibly doing
further process on their side). This function is used by
stopSocketServer
, but it can also be invoked manually to ask for
disconnection of a particular client. Note that, in this case, the client
still can decide not to disconnect! The code send to ask for client
disconnection is: \f
.
1 | closeSocketClients(sockets = "all", serverport = 8888)
|
sockets |
the list of socket client names (sockXXX) to close, or "all" (by default) to disconnect all currently connected clients. |
serverport |
the corresponding R socket server port. |
Philippe Grosjean (phgrosjean@sciviews.org)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.