Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2004-08-10 21:41:35
Size: 56
Editor: feynman
Comment:
Revision 3 as of 2004-08-10 21:53:35
Size: 247
Editor: feynman
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
在这里编辑"PyCkBk-10-2".
=写一个tcp客户端=
= 10.2 写一个tcp客户端 =

== 10.2.1 问题 ==

你要连接到远程主机上的一个socket

== 10.2.2 解决之道 ==

假设你正用 internet 进行通讯:

"{{{#!python import socket

             #create a socket }}}"

10.2 写一个tcp客户端

10.2.1 问题

你要连接到远程主机上的一个socket

10.2.2 解决之道

假设你正用 internet 进行通讯:

"

   1              #create a socket 

"

PyCkBk-10-2 (last edited 2009-12-25 07:08:41 by localhost)