Skip to content

Instantly share code, notes, and snippets.

View novahe's full-sized avatar
:octocat:
Continue running

NovaHe novahe

:octocat:
Continue running
  • hangzhou, China
View GitHub Profile

Python Socket 编程详细介绍

Python 提供了两个基本的 socket 模块:

  • Socket 它提供了标准的BSD Socket API。
  • SocketServer 它提供了服务器重心,可以简化网络服务器的开发。

下面讲解下 Socket模块功能。

Socket 类型