Actions
Bug #2763
closed/sockread -n &binvar
Start date:
06/20/2016
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
When this reads a line, it should remove the $crlf (or just $lf) from the value being put into the binvar
alias testsr socklisten serv 8000 | sockopen client 127.0.0.1 8000
on :socklisten:serv:sockaccept client1 | sockclose serv
on *:sockopen:client:if (!$sockerr) sockwrite n client $bvar(&a,1-) -- $bvar(&a,1).text | sockclose client
on *:sockread:client1:sockread -n &a | echo -s > $bvar(&a,0) -
/testsr
Actions