Skip to content
Snippets Groups Projects
Commit e9b10981 authored by rswindell's avatar rswindell
Browse files

Just included a little sampe showing how to use socket.getoption().

parent 1d87f77c
No related branches found
No related tags found
No related merge requests found
load("sbbsdefs.js"); // CON_RAW_IN
load("sockdefs.js"); // SO_RCVBUF
printf("tx = %d\r\n",client.socket.getoption(SOL_SOCKET,SO_SNDBUF));
printf("rx = %d\r\n",client.socket.getoption(SOL_SOCKET,SO_RCVBUF));
console.status |= CON_RAW_IN; // Enable RAW input mode (pass-through ctrl chars)
var socket = new Socket();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment