Networking¶ Networking in libuv is not much different from directly using the BSD socket interface, some things are easier, all are non-blocking, but the concepts stay the same. In addition libuv offers utility functions to abstract the annoying, repetitive and low-level tasks like setting up sockets using the BSD socket structures, DNS lookup, and tweaking various socket parameters. The uv_tcp_t
どうも今晩は。よく本業が何かと聞かれますが、自分でもたまに本業がなにかよくわからなくなります。 最初に 近頃サーバーサイドJavaScriptのnode.jsの人気が出てますね。 node.jsの作者が作ってるネットワーク用のライブラリlibuvはgeventの裏側でつかわれているlibev風のAPIを Windowsでも使えるという話を聞いて楽しそうなので触ってみました。 しかし、ドキュメントもほとんどなく、近頃Cから始まる言語を使っていない私には少々敷居が高いこともあり Pythonでwrapしているものを探してみました。 最悪の場合、気分転換にpython版を書いてみるかと思ったのですが、既に書いてる人がいました。 しかもほとんどの機能をPythonから使えるようにwrap済みです、これはありがたい。というわけで今回はこれを使ってみます。 https://github.com/sag
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く