码迷,mamicode.com
首页 >  
搜索关键字:open close principle    ( 32684个结果
TCP中close和shutdown之间的区别
该图片截取自>,第17个技巧。 如果想验证可以写个简单的网络程序,分别用close和shutdown来断开连接,然后用tcpdump查看交互过程,就一目了然了。本来我想自己写个程序验证,但是自己笔记本上没有linux环境,公司环境又不能通外网,所以就放弃了。
分类:其他好文   时间:2014-07-07 08:48:32    阅读次数:241
微软职位内部推荐-Senior Engineering Lead
微软近期Open的职位:Job Title: Senior Engineering LeadDivision: Microsoft Business SolutionWork Location: Shanghai, ChinaThe Opportunity:Do you want to play a...
分类:其他好文   时间:2014-07-07 08:09:56    阅读次数:340
MFC第一节-windows程序内部运行机制
一、窗口设计窗口类时: 1 typedef struct _WNDCLASS{ 2 UINT style; //如水平、垂直变化是否重绘,禁用Close,检测双击 3 WNDPROC lpfnWndProc;//窗口过程函数句柄 4 int cbClsExtra;//类附加内存 5 int cbWn...
分类:Windows程序   时间:2014-07-07 00:25:20    阅读次数:332
[BAT]批处理自动修改区域和语言选项
open a cmd window and type reg query "HKCU\Control Panel\International" which will show you the values as you want them.Then to modify them, use REG A...
分类:其他好文   时间:2014-07-06 23:26:01    阅读次数:1227
wcf 给net.tcp 加mex
using (ServiceHost host = new ServiceHost(typeof(CalculatorService))) { host.Open(); Console.WriteLine("OK"); Console.Read(); }
分类:Web程序   时间:2014-07-05 16:49:41    阅读次数:244
hadoop之linux常用命令
Linux的命令后面会有命令选项,有的选项还有选项值。选项的前面有短横线“-”,命令、选项、选项值之间使用空格隔开。有的命令没有选项,会有参数。选项是命令内置的功能,参数是用户提供的符合命令格式的内容。1.1.1. 命令提示符在桌面上点击鼠标右键,在弹出菜单中选择“Open in Terminal”...
分类:系统相关   时间:2014-07-05 11:18:23    阅读次数:293
数据库open报错ORA-01555: snapshot too old
原文博客链接地址:数据库open报错ORA-01555: snapshot too old 今天正在东莞蜜月的时候,一个学生说他管理的测试库出问题了,无法open,我们先来看看是什么问题: Recovery of Online Redo Log: Thread 1 Group 4 Seq 4 Reading mem 0 Mem# 0: /onlinelog/shr/re...
分类:数据库   时间:2014-07-03 18:11:02    阅读次数:329
window.showModalDialog父子窗口参数传递
在开发过程中遇到window.showModalDialog()打开的模态对话框需要从子窗口传递返回值给父窗口中的某个插件,开始想通过window.opener得到,但是试了几次得不到,后来发现原来在当前打开窗口(子窗口)中可以通过window.returnValue=指定返回值;window.close();之后父窗口可以使用v..
分类:Windows程序   时间:2014-07-03 14:30:31    阅读次数:300
php curl 发送get或者post请求
php可以扮演资料的发送者。简单的get$ch=curl_init(); curl_setopt($ch,CURLOPT_URL,"http://SomeDomain/SamplePath?SomeVar=test"); curl_exec($ch); curl_close($ch);2.简单的post$ch=curl_init(); curl_setopt($ch,CURLOPT_URL,"http://SomeDomain/SamplePath"); curl_setop..
分类:Web程序   时间:2014-07-03 14:14:49    阅读次数:200
微软职位内部推荐-Senior Development Lead
微软近期Open的职位:SENIOR DEVELOPMENT LEAD:The Enterprise Commerce (ECIT) Engineering Team holds the mission for delivering millions of transactions and one ...
分类:其他好文   时间:2014-07-03 12:54:25    阅读次数:335
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!