Files
hakorune/local_tests/test_minimal_socket.nyash
Moe Charm ef7a0de3b0 feat: Prepare for code modularization and cleanup
- Archive old documentation and test files to `docs/archive/` and `local_tests/`.
- Remove various temporary and old files from the project root.
- Add `nekocode-rust` analysis tool and its output files (`nekocode/`, `.nekocode_sessions/`, `analysis.json`).
- Minor updates to `apps/chip8_nyash/chip8_emulator.nyash` and `local_tests` files.

This commit cleans up the repository and sets the stage for further code modularization efforts, particularly in the `src/interpreter` and `src/parser` modules, based on recent analysis.
2025-08-16 01:30:39 +09:00

31 lines
847 B
Plaintext

# 🔥 最小限SocketBoxテスト - bind()のみ
static box Main {
init { console }
main() {
me.console = new ConsoleBox()
me.console.log("最小限SocketBoxテスト開始")
# SocketBox作成
local socket = new SocketBox()
me.console.log("SocketBox作成完了")
# bind前状態
local beforeBind = socket.isServer()
me.console.log("Before: " + beforeBind.toString())
# bind実行
local bindResult = socket.bind("127.0.0.1", 19999)
me.console.log("Bind: " + bindResult.toString())
# bind後状態
local afterBind = socket.isServer()
me.console.log("After: " + afterBind.toString())
# クリーンアップ
socket.close()
return "DONE"
}
}