Comment by poeticAndroid on 25/07/2024 at 20:43 UTC

1 upvotes, 0 direct replies (showing 0)

View submission: Gemini in Godot?

View parent comment

I've tried that, using both `TLSOptions.client()` and `TLSOptions.client_unsafe()` as options. But the result is the same.

tcp = StreamPeerTCP.new()
print(host, ":", port)
tcp.connect_to_host(host, port)
tls = StreamPeerTLS.new()
tls.connect_to_stream(tcp, host, TLSOptions.client_unsafe())
print("status " + str(tls.get_status()))

Output:

geminiprotocol.net:1965
status 4

Replies

There's nothing here!