socket_set_option.Rd
Set a socket option.
socket_set_option( socket, level = "socket", option, value, type = c("int", "logical", "timeval", "linger", "raw") )
A socketR socket handle.
Option level such as "socket" or "tcp".
"socket"
"tcp"
Option name or native numeric constant.
Value matching type.
type
Value type: "int", "logical", "timeval", "linger", or "raw".
"int"
"logical"
"timeval"
"linger"
"raw"
Invisibly, the socket handle.