码迷,mamicode.com
首页 >  
搜索关键字:send    ( 4884个结果
libXml ARC forbids explicit message send of'release'
'release' is unavailable: not available in automatic reference counting modeARC forbids explicit message send of'release''release' is unavailable: not...
分类:其他好文   时间:2014-09-13 20:07:45    阅读次数:140
kafka【系统配置说明】 - server.properties
通常而言我们的kafka的配置如下所示: broker.id=0 num.network.threads=2 num.io.threads=8 socket.send.buffer.bytes=1048576 socket.receive.buffer.bytes=1048576 socket.request.max.bytes=1...
分类:其他好文   时间:2014-09-12 17:29:24    阅读次数:215
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by
配置php网站的时候,经常会在页首出现Warning: session_start() [function.session-start]: Cannot send session cache limiter,也不影响页面打开。Warning: session_start() [function.se...
分类:其他好文   时间:2014-09-12 16:56:13    阅读次数:174
expect 批量修改密码(无密码ssh登入就不要用这个了)
#!/bin/bashforipin`catiplist.txt`dopwd=`mkpasswd-l12-s0-C0`grep-q$ip/root/pwd.log&&passwd=$(grep$ip/root/pwd.log|cut-d:-f2)||passwd=123456expect-c"spawnsshroot@$ippasswdexpect{\"*yes/no*\"{send\"yes\r\";exp_continue}\"*password*\"{send\"$passwd\r\";..
分类:其他好文   时间:2014-09-11 19:33:52    阅读次数:237
iso socket基础2
iPhone socket 编程之BSD Socket篇 收藏在进行iPhone网络通讯程序的开发中,不可避免的要利用Socket套接字。iPhone提供了Socket网络编程的接口CFSocket,不过笔者更喜欢使用BSD Socket。(IBAction)calculaeTip:(id)send...
分类:其他好文   时间:2014-09-11 19:10:52    阅读次数:289
SOCKET SEND
1.send 函数   int send( SOCKET s, const char FAR *buf, int len, int flags );   不论是客户还是服务器应用程序都用send函数来向TCP连接的另一端发送数据。客户程序一般用send函数向服务器发送请求,而服务...
分类:其他好文   时间:2014-09-11 17:38:12    阅读次数:246
directly receive json data from javascript in mvc
if you send json data to mvc,how can you receive them and parse them more simply?you can do it like this: latestData = []; $('.s...
分类:编程语言   时间:2014-09-10 14:09:40    阅读次数:199
《RabbitMQ in action》
Producers create messages and publish (send) them to a broker server (RabbitMQ).What’s a message? A message has two parts: a payload and a label. The ...
分类:其他好文   时间:2014-09-10 14:08:00    阅读次数:307
tcp 双方通信
思路主线程负责发送消息,另一线程负责接收消息。服务端和客户端均是如此。注意当A方close掉用于通信的socket端口后,该端口是不会立即关闭的。因为此时可能B方的信息还没send完。因此,此时A方的recv仍旧处于阻塞状态,会最后再等待收一次信息。此时,当B方send一个信息给A后,A方recv到...
分类:其他好文   时间:2014-09-10 12:20:40    阅读次数:219
NIO框架之MINA源码解析(三):底层通信与责任链模式应用
本文主要介绍下在mina中责任链模式的应用以及mina对于数据读写的处理。在mina中,对数据的读操作是在processor类里面触发的,收到新消息后就触发读数据链去处理新消息直到自己的业务逻辑代码(IoHandler)。在mina中,数据的写(write)和发(send)差别相对较大,mina中的写消息最终的结果只是把要写的消息经过写数据链处理后的最终结果放在了一个缓存中,并把当前session...
分类:其他好文   时间:2014-09-10 08:22:30    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!