socket_get_option.Rd
Get a socket option.
socket_get_option( socket, level = "socket", option, type = c("int", "logical", "timeval", "linger", "raw"), size = 256L )
A socketR socket handle.
Option level such as "socket" or "tcp".
"socket"
"tcp"
Option name or native numeric constant.
Return type: "int", "logical", "timeval", "linger", or "raw".
"int"
"logical"
"timeval"
"linger"
"raw"
Maximum raw option size.
The option value.