memo.xight.org

/ / memo.xight.org

2004-10-30

twisted

- Summary
  Pythonで書かれたイベントドリブンなネットワークフレームワーク
  TCP
  UDP
  SSL/TLS
  multicast
  Unix sockets
  をサポート
- サポートするプロトコル
  Jabber
  SIP
  FTP
  SSH, SFTP
  IMAP
  HTTP
  NNTP
  SOCKSv4 (server only)
  SMTP
  IRC
  telnet
  POP3
  AOL's instant messaging TOC
  OSCAR, used by AIM as well as ICQ (client only)
  DNS
  MouseMan
  finger
  Echo, discard, chargen and friends
  Twisted Perspective Broker

- twistedを使用したプログラムのサンプル
  http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/181905
  実行方法

$ python pingpong.py
$ python pingpong.py localhost
$ python pingpong.py localhost

  Clientの表示

THROW 1 CATCH 2
THROW 3 CATCH 4
THROW 5 CATCH 6
THROW 7 CATCH 8
THROW 9 CATCH 10

  サーバの表示

CATCH 1 THROW 2
CATCH 3 THROW 4
CATCH 5 THROW 6
CATCH 7 THROW 8
CATCH 9 THROW 10

- Reference
  Twisted Matrix Laboratories
  http://twistedmatrix.com/
  Twisted API Document
  http://twistedmatrix.com/documents/current/api/
- via
  TokuLog! - 2004-10-29
  http://www13.ocn.ne.jp/~tokuhiro/cl/2004-10-29.html#2004-10-29-15
  TokuLog! - 2004-10-29
  http://www13.ocn.ne.jp/~tokuhiro/cl/2004-10-29.html#2004-10-29-16

カテゴリ: [Python]
2004-10 /

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-12-02 10:52
Copyright © 2005 xight.org All Rights Reserved.