static S tunnelToRemoteBot(S botID, S text) {
ret tunnelToRemoteBot(format3("please forward to bot *: *", botID, text));
}
static S tunnelToRemoteBot(S text) {
S signed = signWithComputerID(text);
//print(signed);
//print("OK? " + isSignedWithKey(signed, masterKey));
DialogIO io = talkTo("second.tinybrain.de", 4999);
try {
S greeting = io.readLine();
S line = format3("signed: *", signed);
print (">> " + line);
io.sendLine(line);
S answer = io.readLine();
print ("<< " + answer);
ret answer;
} finally {
io.close();
}
}Began life as a copy of #1001589
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment