http协议学习系列 1. 基础概念篇 1.1 介绍 HTTP是Hyper Text Transfer Protocol(超文本传输协议)的缩写。它的发展是万维网协会(World Wide Web Consortium)和Internet工作小组IETF(Internet Engineering T ...
分类:
Web程序 时间:
2017-04-06 14:51:04
阅读次数:
335
五、PHP综合应用 ftp、ssh、http、telnet、https ftp:File Transfer Protocol,文件传输协议,是应用层的协议,它基于传输层,为用户服务,它们负责进行文件的传输,其默认端口是21。 ssh:Secure Shell,安全外壳协议,建立在应用层和传输层基础上 ...
分类:
Web程序 时间:
2017-04-06 14:21:38
阅读次数:
307
1. UDP编程模型 (1)UDP客户端服务器模型 ①客户端可以不调用bind()而直接与服务器通讯。 ②UDP是无连接的,因此服务端不需要调用accept和listen,客户端也无需调用connect函数。 (2)数据传输 ①发送数据 头文件 #include <sys/socket.h> 函数 ...
分类:
其他好文 时间:
2017-04-06 11:29:00
阅读次数:
314
1、什么是TCP/IP TCP/IP 是用于因特网 (Internet) 的通信协议 全名:传输控制协议/网际协议(Transmission Control Protocol / Internet Protocol) TCP/IP 定义了电子设备(比如计算机)如何连入因特网,以及数据如何在它们之间传 ...
分类:
其他好文 时间:
2017-04-06 10:02:19
阅读次数:
256
1 public String readfile(String filePath){ 2 File file = new File(filePath); 3 InputStream input = null; 4 try { 5 input = new FileInputStream(file); ... ...
分类:
编程语言 时间:
2017-04-06 01:21:08
阅读次数:
1090
rpc 协议RPC = Remote Procedure Call Protocol,即远程过程调用协议。xml rpc 协议使用http协议作为传输协议,使用xml文本传输命令和数据的一种协议。分成client和server。python 中的xmlrpc使用Anaconda3安装的时候,已经在L... ...
分类:
编程语言 时间:
2017-04-05 21:16:46
阅读次数:
211
什么是NTP server?Network Time Protocol简称(ntp),是一个能使计算机之间实现时间同步的协议,发布这个校准时间的服务器就是NTP server!在windows的时间设置选项中能看到一个功能叫“internet时间”,这个功能就是从微软的时间服务器来校准时间的。一般来 ...
分类:
其他好文 时间:
2017-04-05 19:07:19
阅读次数:
232
实现垂直方向的单列表,使用UITableView足矣;若是需要构建横向滑动列表、多行多列布局,使用UICollectionView+UICollectionViewFlowLayout搭建最合适;更复杂的布局,则可以使用UICollectionView+自定义Layout来实现。 首先,来了解一下U ...
分类:
其他好文 时间:
2017-04-05 17:25:36
阅读次数:
223
bufferbusywaits(热块儿争用)官网解释:Thiswaitindicatesthattherearesomebuffersinthebuffercachethatmultipleprocessesareattemptingtoaccessconcurrently.QueryV$WAITSTATforthewaitstatisticsforeachclassofbuffer.Commonbufferclassesthathavebufferbusywaitsincludeda..
分类:
数据库 时间:
2017-04-05 10:10:22
阅读次数:
174
freebufferwaits官网解释:Thiswaiteventindicatesthataserverprocesswasunabletofindafreebufferandhaspostedthedatabasewritertomakefreebuffersbywritingoutdirtybuffers.Adirtybufferisabufferwhosecontentshavebeenmodified.DirtybuffersarefreedforreusewhenDBWRhaswritt..
分类:
数据库 时间:
2017-04-05 10:09:52
阅读次数:
200