Skip to content

Instantly share code, notes, and snippets.

View deepwzh's full-sized avatar
🎯
Focusing

DeepWzh deepwzh

🎯
Focusing
View GitHub Profile
@deepwzh
deepwzh / pta_error.md
Last active December 21, 2017 14:08
PTA题目答案解析-错误纠正

暂无找出新的错误

如果发现错误,可以在文件下边评论,谢谢

Python Socket 编程详细介绍

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

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

下面讲解下 Socket模块功能。

Socket 类型

// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.