tcp client

This commit is contained in:
2025-06-30 11:20:09 +02:00
parent 2b9bcbc56f
commit a8ce309eac
3 changed files with 50 additions and 2 deletions

View File

@@ -11,8 +11,8 @@ func print_i64[x: I64] : I64
func String.nth[s: String, n: I64] : U8
return _builtin_deref(s + n)
func String.set[s: String, n: I64] : I64
_builtin_string_set(s, n)
func String.set[s: String, n: I64, c: U8] : I64
_builtin_string_set(s, n, c)
func String.is_whitespace[c: U8] : Bool
return c == ' ' || c == 10 || c == 13 || c == 9