tlang-interperter-cs/tlang/code.tlang

18 lines
287 B
Plaintext
Raw Permalink Normal View History

2023-06-08 18:14:35 +00:00
main = func($$args){
/*each(arg : args)
{
2023-03-10 10:12:36 +00:00
ls = create.array();
2023-06-08 18:14:35 +00:00
each(v : "GET /api/AddItem/" + arg + "HTTP/1.1\r\nHost: 192.168.0.112:3252\r\n\r\n")
2023-03-10 10:12:36 +00:00
{
ls.add(v);
}
netstrm=net.tcpclient("192.168.0.112",3252);
netstrm.write(ls,ls.length);
netstrm.close();
2023-06-08 18:14:35 +00:00
}*/
console.readln();
2023-03-10 10:12:36 +00:00
2023-06-08 18:14:35 +00:00
}