Replies: 2 comments
-
确实很简单的东西,也有很多替代品,你可以用不带运行时的啊,也可以自己编译裁剪 .NET 的 UI 确实可以裁剪到 10K 以下,欢迎 PR 至于运行时为什么那么大,这你问微软去 新的基于 Avalonia 的 UI 还没时间写 |
Beta Was this translation helpful? Give feedback.
0 replies
-
喜欢命令行就用命令行呗,用 AI 都能秒生成: import stun
def get_nat_info():
try:
nat_type, external_ip, external_port = stun.get_nat_info(
stun_host="stun.l.google.com", stun_port=19302
)
print(f"NAT Type: {stun.nat_type_to_string(nat_type)}")
print(f"External IP: {external_ip}")
print(f"External Port: {external_port}")
except Exception as e:
print(f"An error occurred: {e}")
if name == "main":
get_nat_info() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
命令行5KB的东西能做200MB+大也是服了。
Beta Was this translation helpful? Give feedback.
All reactions