锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲婷婷国产精品电影人久久,A级毛片无码久久精品免费,久久久久免费视频 http://www.shnenglu.com/wanghaiguang/archive/2016/08/18/214201.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Thu, 18 Aug 2016 03:20:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2016/08/18/214201.html http://www.shnenglu.com/wanghaiguang/comments/214201.html http://www.shnenglu.com/wanghaiguang/archive/2016/08/18/214201.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/214201.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/214201.html 涓銆丼WIG鐜鎼緩 1銆?涓嬭澆Swig for Windows錛歨ttp://www.swig.org/download.html
2銆?瑙e帇 .zip 鏂囦歡鍒扮洰褰曪紝姣斿錛欴:\backupsoftware
3銆?娣誨姞鐜鍙橀噺鍒皃ath錛?姣斿錛?D:\backupsoftware\swigwin-3.0.10
4銆?綆鍗曟祴璇曞畨瑁呮槸鍚︽垚鍔燂細(xì)
鎵撳紑Dos錛屽湪鍛戒護(hù)琛屾墽琛岋細(xì) swig --help, 鏄劇ず Target Language Options鍗寵〃鏄庡畨瑁呮垚鍔熴?/span>浜屻佷互c++涓轟緥 1銆佺紪鍐檆++婧愭枃浠?/span>// example.h #include <iostream> using namespace std; class Example{ public : void say_hello(); };
// example.cpp #include "example.h" void Example::say_hello() { printf("hello"); }
2銆佸啀鍐欎竴涓猻wig妯″潡瀹氫箟鏂囦歡濡備笅 %module example %{ #include "example.h" %} %include "example.h"
3銆侀氳繃鍛戒護(hù)琛岃繍琛岋細(xì)$ swig -python -c++ example.i 濡傛灉鏄嬌鐢–婧愮爜錛屽垯閫夐」錛? swig - Python example.i
榪欐牱浼?xì)鍒涘晦Z袱涓笉鍚岀殑鏂囦歡錛歟xample_wrap.cxx錛堝鏋滅敤c婧愮爜鏄痚xample_wrap.c錛夛紝鍜宲ython鏂囦歡example.py銆?/span>
4銆佷嬌鐢╬ython.distutils鐢熸垚妯″潡鍔ㄦ佸簱 python鑷甫涓涓猟istutils宸ュ叿錛屽彲浠ョ敤瀹冩潵鍒涘緩python鐨勬墿灞曟ā鍧椼備嬌鐢ㄥ畠涔熷緢綆鍗曪紝鍙渶瑕佸厛瀹氫箟涓涓厤緗枃浠訛紝閫氬父鏄懡鍚嶄負(fù)setup.py 錛屽涓嬶細(xì) # !/usr/bin/env python """ setup.py file for SWIG C\+\+/Python example """ from distutils.core import setup, Extension example_module = Extension( ' _example ' , sources=[ ' example.cpp ' , ' example_wrap.cxx ' ,], ) setup (name = ' example ' , version = ' 0.1 ' , author = " www " , description = """ Simple swig C\+\+/Python example """ , ext_modules = [example_module], py_modules = [ " example " ], )
娉細(xì) swig鐢熸垚鐨勬墿灞曟ā鍧楀璞″悕蹇呴』浣跨敤python妯″潡鍚嶅茍鍦ㄥ墠闈㈠姞涓婁笅鍒掔嚎_錛屽垰鎵嶆垜浠氳繃swig鐢熸垚鐨刾ython鏂囦歡鏄痚xample.py錛屾墍浠ヨ繖閲岀殑妯″潡瀵硅薄鍚嶅繀欏繪槸'_example',鍚﹀垯鏃犳硶欏哄埄緙栬瘧銆?/span>5銆佺紪璇?br /> 鍛戒護(hù)琛屼腑灝嗗綋鍓嶅伐浣滅洰褰曞垏鎹㈠埌鏂囦歡example.cpp, example_wrap.cxx ,example.py,setup.py鎵鍦ㄧ殑鐩綍,鐒跺悗杈撳叆浠ヤ笅鍛戒護(hù): python setup.py build_ext --inplace 浼?xì)鍦ㄦ湰鐩綍涓嬬敓鎴恄example.pyd妯″潡銆?br /> 6銆佹祴璇?/span>import examlpe example.Example().say_hello() 娉?/span>錛氬鏋滃鍏ユā鍧楀け璐ワ紝闇瑕佸皢妯″潡鎵鍦ㄨ礬寰勬坊鍔犲埌sys.path涓紝鍦ㄦ瀵煎叆灝變細(xì)鎴愬姛 ]]> UISearchBar鎺т歡錛堣漿杞斤級 http://www.shnenglu.com/wanghaiguang/archive/2015/03/04/209924.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Wed, 04 Mar 2015 11:23:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2015/03/04/209924.html http://www.shnenglu.com/wanghaiguang/comments/209924.html http://www.shnenglu.com/wanghaiguang/archive/2015/03/04/209924.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/209924.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/209924.html 闃呰鍏ㄦ枃 ]]> (杞澆)鎺ㄨ崘錛佸浗澶栫▼搴忓憳鏁寸悊鐨?C++ 璧勬簮澶у叏 http://www.shnenglu.com/wanghaiguang/archive/2014/11/14/208873.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Fri, 14 Nov 2014 00:58:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/11/14/208873.html http://www.shnenglu.com/wanghaiguang/comments/208873.html http://www.shnenglu.com/wanghaiguang/archive/2014/11/14/208873.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/208873.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/208873.html 闃呰鍏ㄦ枃 ]]> MFC wcslen鑾峰彇涓枃闀垮害 http://www.shnenglu.com/wanghaiguang/archive/2014/10/10/208529.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Fri, 10 Oct 2014 03:53:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/10/10/208529.html http://www.shnenglu.com/wanghaiguang/comments/208529.html http://www.shnenglu.com/wanghaiguang/archive/2014/10/10/208529.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/208529.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/208529.html 涓嶇煡閬撳ぇ瀹舵湁娌℃湁鎴戣繖縐嶄綋楠?澶у鍏堢湅鐪嬩笅闈㈣繖孌典唬鐮?int fp=_wopen(L"Hello.dat",O_BINARY | O_CREAT | O_TRUNC | O_RDWR);if (fp==-1) return ; write(fp,L"123涓浗浜?,wcslen(L"123涓浗浜?)); close(fp);
涓婇潰榪欐浠g爜涓嶇煡閬撳ぇ瀹剁湅鍑轟粈涔圔UG鏉ヤ簡.濡傛灉澶у鐪嬩笉鍑烘瘺鐥呬篃涓嶈凍涓烘?鍥犱負(fù)榪欐槸鎴戜滑鐨勪範(fàn)鎯鑷翠簡鎴戜滑鐨勯敊璇駭鐢?鍏堣鎴戞潵鍒嗘瀽涓涓媤rite鍚?涓嬮潰鏄痺rite鐨勫師鍨? int write( int handle, const void *buffer, unsigned int count ); 鍙傛暟: handle 宸叉墦寮鎴栧凡鍒涘緩鐨勬枃浠跺彞鏌?/span>buffer 寰呭啓鍏ョ殑鏁版嵁 count 寰呭啓鍏ョ殑鏁版嵁澶у皬 鐜板湪鍒嗘瀽涓轟粈涔堜笂闈㈢殑閭d唬鐮佹湁bug,鍏跺疄涓昏闂灝卞湪涓涓猙uffer,鍜宑ount. 濡傛灉鎴戜滑鍐欏叆涓涓狝nsi瀛楃涓?涓婇潰鐨勪唬鐮佹敼鎴愮浉搴旂殑褰㈠紡紜疄娌℃湁閿? 浣嗗鏋滄槸鍐欏叆涓涓瀛楃涓?閭d箞涓婇潰鐨勪唬鐮佸氨涓嶄弗鏍?鍘熷洜灝卞湪浜巆ount. 鎴戜滑棣栧厛鐪嬩竴涓媠trlen鍜?/span>wcslen ,濡傛灉浣跨敤strlen,涓鑸儏鍐典笅,鎴戜滑鐩存帴浣滀負(fù)瀛楃涓茬殑闀垮害, 鑰屼嬌鐢?/span>wcslen ,浣犱細(xì)鍙戠幇,寰楀嚭鐨勪笉鏄瓧絎︿覆鐨勯暱搴﹁屾槸瀛楃鐨勪釜鏁? 榪欏氨鏄棶棰樼殑鎵鍦?涓鑸儏鍐典笅.char鐨勯暱搴︽槸1,榪欐槸鐢╯izeof(char)榪愮畻鍑烘潵鐨勭粨鏋? len=strlen(str)*sizeof(char);鑰屾垜浠竴鑸儏鍐典笅,閮藉彧鐢╯trlen(str)鏉ョ瓑浠?榪欏氨鏄鉤鏃剁殑涔?fàn)鎯? 姝f槸鐢變簬榪欎釜涔?fàn)鎯墍寮曟潵鐨勯棶棰?榪欎釜涔?fàn)鎯q朵笉閫傜敤浜庡瀛楃涓?鍥犱負(fù) wcslen (str)*sizeof(wchar_t)騫朵笉絳変簬 wcslen (strl).榪欏氨鏄範(fàn)鎯墍寮曡搗鐨勯敊璇? 璇村埌榪欓噷鎴戞兂澶у閮芥槑鐧戒簡.鎴戝湪榪欓噷鎶婅繖縐嶄範(fàn)鎯О涔嬩負(fù)涓嶈壇涔?fàn)鎯?鎵浠ュぇ瀹朵互鍚庡湪璁$畻瀛楃涓查暱搴︾殑鏃跺?鍗冧竾涓嶈兘綆鑰岀畝涔?涓瀹氳len=strlen(str)*sizeof(char),len= wcslen (str)*sizeof(wchar_t). 涓嶈鍐嶇姱榪欑涔?fàn)鎯х殑浣庣駭閿欒. 鏈枃杞嚜錛?a >http://blog.csdn.net/aylixuan/article/details/6130820 ]]> Gloox鏂囦歡浼犺緭灝忚 http://www.shnenglu.com/wanghaiguang/archive/2014/09/02/208206.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Tue, 02 Sep 2014 09:18:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/09/02/208206.html http://www.shnenglu.com/wanghaiguang/comments/208206.html http://www.shnenglu.com/wanghaiguang/archive/2014/09/02/208206.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/208206.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/208206.html 浣跨敤鐗堟湰錛?.1.10浠婂ぉ寮勪簡涓涓婫loox涓嚜甯︾殑鏀跺彂鏂囦歡渚嬪瓙錛屾敹鍙戞枃浠剁殑渚嬪瓙閮芥槸濂戒嬌鐨勶紝鍙笉榪囷紝鍦ㄨ皟璇曡繃紼嬩腑闇瑕佹敞鎰忎竴浜涢棶棰橈紝涓嬮潰灝嗘垜閬囧埌鐨勯棶棰樺仛涓褰曪紙渚嬪瓙涓互In-Band Bytestreams鏂瑰紡鏀跺彂錛?/span>銆?/span>1銆佸彂閫佹枃浠惰繃紼嬩腑閬囧埌404閿欒 < iq type ='error' id ='uid-8509a748-00000005' to ='wanghaiguang@wanghaiguang-wk/glooxsendfile'from='www@192.168.60.67/Spark 2.6.3' >< sixmlns ='http://jabber.org/protocol/si' id ='uid-8509a748-00000006' profile ='http://jabber.org/protocol/si/profile/file-transfer'><file xmlns ='http://jabber.org/protocol/si/profile/file-transfer' name ='d:\offline.bmp' size ='6998'/><feature xmlns ='http://jabber.org/protocol/feature-neg'><x xmlns ='jabber:x:data' type ='form'><field type ='list-single'var='stream-method'><option label ='ibb'><value>http://jabber.org/protocol/ibb</value></option><option label ='oob'><value>jabber:iq:oob</value></option><option label ='s5b'><value>http://jabber.org/protocol/bytestreams</value></option><value/></field></x></feature></si><error code ='404' type ='cancel'><remote-server-not-found xmlns ='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
鍙互灝唅p鍦板潃鎹㈡垚鏈嶅姟鍣ㄥ悕縐拌瘯璇?/span>JID j( "www@192.168.60.67/gloox" );——> JID j( "www@wanghaiguang-wk/gloox" );
2銆?/strong>鍙戦佹枃浠惰繃紼嬩腑閬囧埌 503閿欒 < iq type ='error' id ='uid-8663a748-00000005' from ='www@wanghaiguang-wk/glooxsend'to='wanghaiguang@wanghaiguang-wk/glooxsendfile'><si xmlns ='http://jabber.org/protocol/si' id ='uid-8663a748-00000006' profile ='http://jabber.org/protocol/si/profile/file-transfer'><file xmlns ='http://jabber.org/protocol/si/profile/file-transfer' name ='d:\offline.bmp' size ='6998'/><feature xmlns ='http://jabber.org/protocol/feature-neg'><x xmlns ='jabber:x:data' type ='form'><field type ='list-single' var ='stream-method'><option label ='ibb'><value>http://jabber.org/protocol/ibb</value></option><option label ='oob'><value>jabber:iq:oob</value></option><option label ='s5b'><value>http://jabber.org/protocol/bytestreams</value></option><value/></field></x></feature></si><error code ='503' type ='cancel'><service-unavailable xmlns ='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
榪欎釜闂鍙兘鏄敱浜庝綘鎺ユ敹绔殑璧勬簮鍚嶇О涓庡彂閫佺 涓嶅尮閰?/span>// 鎺ユ敹绔櫥褰曠殑jid JID jid( "www@192.168.60.67/glooxsendfile" ); j = new Client( jid, "111" ); // 鍙戦佺鐨刯id鍚嶇О錛堝彂閫佺粰瀵規(guī)柟鐨刯id鍚嶇О錛?/span>JID j( "www@wanghaiguang-wk/gloox" ); if ( j.resource().empty() ) { printf( "error: need full jid\n" ); return 1; }
]]> GLOOX 1.0.10娉ㄥ唽闂 http://www.shnenglu.com/wanghaiguang/archive/2014/08/28/208165.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Thu, 28 Aug 2014 09:59:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/08/28/208165.html http://www.shnenglu.com/wanghaiguang/comments/208165.html http://www.shnenglu.com/wanghaiguang/archive/2014/08/28/208165.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/208165.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/208165.html 寮曟枃錛?/strong>
璋冭瘯GLOOX 1.0.10鐨勬敞鍐屽姛鑳介璐逛簡涓浜涘姛澶傛諱綋閫昏緫濡侴LOOX鑷甫鐨勪緥瀛愪竴鏍鋒槸姣棤鐤戦棶鐨勶紝浣嗘槸鐓ф惉渚嬪瓙鍙堟槸涓嶈兘瀹屾垚娉ㄥ唽鐨勶紝榪斿洖閿欒鐮佷負(fù) 4------RegistrationBadRequest 銆?span style="font-size: 14pt;">絎旇呬竴寮濮?/span>鍦ㄧ綉涓婄媯鎼滆В鍐蟲柟妗堬紝璧勬枡灝戜箣鍙堝皯錛屾湁寤鴻閲嶅啓C(jī)lient::handleNormalNode鍑芥暟錛堢洰鐨勬槸紱佹SASL璁よ瘉錛夌殑錛屾湁鐩存帴緇ф壙Client閲嶅啓C(jī)lient::handleNormalNode鍑芥暟鐨勶紝浣嗛兘娌¤鍒扮偣瀛愪笂銆傜粡榪囦竴孌墊椂闂寸殑鐮旂┒錛屽湪GLOOX鐨?/span>maillist 涓婂緱鍒板惎鍙戯紝欏哄埄瀹屾垚娉ㄥ唽銆傜幇灝嗚В鍐蟲柟妗堣褰曚笅鏉ワ細(xì)
鐜
瀹㈡埛绔細(xì)GLOOX1.0.1.0 VS2008
鏈嶅姟鍣細(xì)OPENFIRE 榛樿瀹夎
瀵逛簬GLOOX鑷甫鐨勬敞鍐屼緥瀛愪笉鑳芥甯告敞鍐岀殑闂鏈変漢鍦ㄩ偖浠跺垪琛ㄩ噷鎻愬嚭鏉ャ備竴涓摜浠繖鏍峰洖絳旓細(xì)
Ok, I' ve found what the problem was In openFire server parameters, Anonymous Login => Disabled !!!
鎰忔濇槸瑕?/span>紱佺敤openFire鏈嶅姟鍣ㄩ噷鐨勯夐」”娉ㄥ唽鍜岀櫥褰?#8220;鐨?#8221;鍖垮悕鐧誨綍“欏?/strong>銆?/span>絎旇呮寜姝よ鏄庣鐢ㄨ閫夐」錛屾灉鐒舵敞鍐屾垚鍔熴?/span>
榪欒鏄庡紑濮嬬殑娉ㄥ唽澶辮觸鏄拰鍖垮悕鐧誨綍鏈夊叧緋葷殑銆傛垜浠潵鐪嬩竴涓嬪紩鐢╮egistration_expmple渚嬪瓙鐧誨綍澶辮觸鏃剁殑XML嫻侊細(xì)
S->C錛氭湇鍔″櫒榪斿洖緇欏鎴風(fēng)鏀寔鐨勮璇佹満鍒訛細(xì)
< stream:features xmlns:stream ='http://etherx.jabber.org/streams'><mechanisms xmlns ='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns ='http://jabber.org/features/compress'><method>zlib</method></compression><auth xmlns ='http://jabber.org/features/iq-auth'/><register xmlns ='http://jabber.org/features/iq-register'/></stream:features>
浠庝笂闈ML嫻佷腑鎴戜滑鍙互鐪嬪埌錛岄粯璁penFire鏀寔鍥涚璁よ瘉鏈哄埗錛屽垎鍒槸錛欴IGEST-MD5銆丳LAIN銆丄NONYMOUS銆丆RAM-MD5銆傜劧鍚庢垜浠湅GLOOX瀹㈡埛绔殑鍝嶅簲嫻侊細(xì)
C->S錛氬鎴風(fēng)榪斿洖閫夋嫨鐨勮璇佹柟寮忥細(xì)
< auth xmlns ='urn:ietf:params:xml:ns:xmpp-sasl' mechanism ='ANONYMOUS' />
鍙互鐪嬪嚭錛屽鎴風(fēng)”鏃犺?#8220;鐨勯夋嫨浜?#8221;鍖垮悕“--'ANONYMOUS'鏂瑰紡 鎺ヤ笅鏉ョ殑嫻佺▼灝辨槸瀹㈡埛绔?#8221;鏃犺?#8220;鐨勯夋嫨浜嗕互鍖垮悕鐨勬柟寮忕櫥褰曚簡鏈嶅姟鍣紝鐒跺悗鍐嶅彂閫佹敞鍐岃姹傦紝璇鋒眰濡備笅錛?/p>
< iq id ='uid:4e69eccd:00006784' type ='set' from ='447e0585@zxl/447e0585' xmlns ='jabber:client' >< query xmlns ='jabber:iq:register' >< username > bbaxiao</ username >< password > 123456</ password >< name > test2</ name >< email > 163@gmail.com</ email ></ query ></ iq >
鎴戜滑鐪嬪埌錛孖Q鑺傞噷鍖呭惈“form”灞炴э紝鍗沖鎴風(fēng)鍖垮悕韜喚鏍囪瘑銆?/span>
娉ㄦ剰錛屼竴涓鎴風(fēng)宸茬粡浠ヤ竴涓韓浠斤紙鐢辨湇鍔″櫒涓存椂鍒嗛厤鐨勪竴涓狫ID錛夌櫥褰曪紝寤虹珛浜嗕細(xì)璇濓紝鍦ㄦ湇鍔″櫒涓婃垜浠細(xì)鐪嬪埌榪欎釜浼?xì)璇濆Q屽茍涓旀湇鍔″櫒鍙戦佸績璺充竴鐩寸淮鎶よ繖涓細(xì)璇濄傝繖縐嶆儏鍐典笅錛岃繖涓鎴風(fēng)鍐嶅彂閫佹敞鍐岃姹傦紙鍙︿竴涓韓浠斤級寤虹珛涓庢湇鍔″櫒鐨勮繛鎺ユ槸涓嶈鍏佽鐨勩傚叿浣撹鍙傝僗EP-0077錛圛n-Band Registration錛夛細(xì)鎴戜滑鍏蟲敞榪欎袱孌碉細(xì)
If the entity cancels its registration with its "home" server (i.e., the server at which it has maintained its XMPP account), then the entity SHOULD NOT include a 'from' or 'to' address in the remove request the server SHOULD then return a <not-authorized/> stream error and terminate all active sessions for the entity. The server SHOULD perform the remove based on the bare JID <localpart@domain.tld> associated with the current session or connection over which it received the remove request. If the server is an instant messaging and presence server that conforms to XMPP IM [8], the server SHOULD also cancel all existing presence subscriptions related to that entity (as stored in the entity's roster). If the entity cancels its registration with a service other than its home server, its home server MUST stamp a 'from' address on the remove request, which in accordance with XMPP Core will be the entity's full JID <localpart@domain.tld/resource>. The service MUST perform the remove based on the bare JID <localpart@domain.tld> portion of the 'from' address.
If the entity cancels its registration with its "home" server (i.e., the server at which it has maintained its XMPP account), then the entity SHOULD NOT include a 'from' or 'to' address in the remove request the server SHOULD then return a <not-authorized/> stream error and terminate all active sessions for the entity. The server SHOULD perform the remove based on the bare JID <localpart@domain.tld> associated with the current session or connection over which it received the remove request. If the server is an instant messaging and presence server that conforms to XMPP IM [8], the server SHOULD also cancel all existing presence subscriptions related to that entity (as stored in the entity's roster). If the entity cancels its registration with a service other than its home server, its home server MUST stamp a 'from' address on the remove request, which in accordance with XMPP Core will be the entity's full JID <localpart@domain.tld/resource>. The service MUST perform the remove based on the bare JID <localpart@domain.tld> portion of the 'from' address.
鎰忔濇槸璇存敞鍐岃姹備笉鑳藉寘鍚?#8220;from”灞炴с?/span>姝e父鐨勬敞鍐屾祦濡備笅錛?/span>
< iq id ='uid:4e69eccd:00003d6c' type ='set' xmlns ='jabber:client'><query xmlns ='jabber:iq:register'><username>bbaxiao</username><password>123456</password><name>test2</name><email>163@gmail.com</email></query></iq>
---------------------------
緇間笂鎵榪幫紝瑙e喅鏂規(guī)濡備笅錛?/span>
涓銆佸叧闂璷penFire鐨勫尶鍚嶇櫥褰曞姛鑳姐俕_^……
浜屻佺姝LOOX鍖垮悕璁よ瘉鍔熻兘銆?/span>
file:client.cpp fun: int Client::getSaslMechs( Tag* tag ) line:423 //灝?23琛屾敞閲婃帀鍗沖彲銆?nbsp; 422錛歩f( tag->hasChildWithCData( mech, "ANONYMOUS" ) ) 423 //mechs |= SaslMechAnonymous;
閲嶆柊緙栬瘧鐢熸垚DLL鍗沖彲銆?/span>涓夈佹墜鍔ㄨ緗瓽LOOX瀹㈡埛绔疭ASL璁よ瘉鏈哄埗
鍦ㄨ皟鐢╦->connect()涔嬪墠璁劇疆SASL璁よ瘉鏈哄埗錛屾瘮濡傝緗負(fù)“DIGEST-MD5”
j->setSASLMechanisms(SaslMechDigestMd5);
榪欑鏂瑰紡鐨勭己鐐規(guī)槸闇瑕佸厛紜畾鏈嶅姟鍣ㄦ敮鎸佺殑璁よ瘉鏈哄埗銆?/span>
鍥涖佹牴鎹甔EP-0077鎵榪幫紝鍗充嬌鍏跺悕鐧誨綍錛屾敞鍐屾祦鍙涓嶅甫“from”灞炴у簲璇ヤ篃鍙互銆傛墍浠ユ垜浠澶勭悊鍙戝嚭鐨勬敞鍐屾祦錛屽幓闄?#8220;from”灞炴ч噸鏂板彂閫佹敞鍐屾祦鍗沖彲銆?/span>
鏈枃杞嚜錛?/strong>http://blog.csdn.net/abcpanpeng/article/details/7370974
]]>iOS 瑙e喅NSString杞崲涓篘SURL鏃跺寘鍚腑鏂囧瓧絎?/title> http://www.shnenglu.com/wanghaiguang/archive/2014/08/18/208048.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Mon, 18 Aug 2014 01:45:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/08/18/208048.html http://www.shnenglu.com/wanghaiguang/comments/208048.html http://www.shnenglu.com/wanghaiguang/archive/2014/08/18/208048.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/208048.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/208048.html NSString涓鏋滃寘鎷腑鏂囧瓧絎︼紝鍦ㄨ漿鎹負(fù)NSURL鏃跺緱鍒扮殑鍊間負(fù)nil 瑙e喅鍔炴硶錛?/span>
NSString *urlString = [NSString stringWithFormat:@"http://api.openweathermap.org/data/2.5/weather?q=%@&units=imperial",cityName];
urlString = [urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL *url = [NSURL URLWithString:urlString];
NSLog(@"%@", url);
]]>iOS 鐩戝惉 Home閿紙杞澆錛?/title> http://www.shnenglu.com/wanghaiguang/archive/2014/08/01/207884.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Fri, 01 Aug 2014 05:31:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/08/01/207884.html http://www.shnenglu.com/wanghaiguang/comments/207884.html http://www.shnenglu.com/wanghaiguang/archive/2014/08/01/207884.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/207884.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/207884.html 絎竴姝?
鍒涘緩2涓狽SNotificationCenter鐩戝惉
[[ NSNotificationCenter defaultCenter ] addObserver : self selector : @selector ( applicationWillResignActive :)
name : UIApplicationWillResignActiveNotification object : nil ]; //鐩戝惉鏄惁瑙﹀彂home閿寕璧風(fēng)▼搴?
[[ NSNotificationCenter defaultCenter ] addObserver : self selector : @selector ( applicationDidBecomeActive :)
name : UIApplicationDidBecomeActiveNotification object : nil ]; //鐩戝惉鏄惁閲嶆柊榪涘叆紼嬪簭紼嬪簭.
絎簩姝?
瀹炵幇2涓狽SNotificationCenter鎵瑙﹀彂鐨勪簨浠舵柟娉?/span>
- ( void ) applicationWillResignActive :( NSNotification *) notification
{
printf ( "鎸夌悊璇存槸瑙﹀彂home鎸変笅\n" );
}
- ( void ) applicationDidBecomeActive :( NSNotification *) notification
{
printf ( "鎸夌悊璇存槸閲嶆柊榪涙潵鍚庡搷搴擻n" );
}
娉? 鍦╤ome閿Е鍙戝悗,AppDelegate鍝嶅簲鐨勬柟娉曚負(fù):
- ( void ) applicationDidEnterBackground :( UIApplication *) application
{
/*
Use this method to release shared resources, save user data, invalidate timers,
and store enough application state information to restore your application to its current state in case it is terminated later.
If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
*/
}
鏈枃杞嚜錛?/span>http://blog.csdn.net/sqc3375177/article/details/9466687
鍏朵粬鐩稿叧淇℃伅錛?/div>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
NSLog(@"\n ===> 紼嬪簭寮濮?nbsp;!" );
return YES;
}
- (void )applicationWillResignActive:(UIApplication *)application
{
NSLog(@"\n ===> 紼嬪簭鏆傝 !" );
}
- (void )applicationDidEnterBackground:(UIApplication *)application
{
NSLog(@"\n ===> 紼嬪簭榪涘叆鍚庡彴 !" );
}
- (void )applicationWillEnterForeground:(UIApplication *)application
{
NSLog(@"\n ===> 紼嬪簭榪涘叆鍓嶅彴 !" );
}
- (void )applicationDidBecomeActive:(UIApplication *)application
{
NSLog(@"\n ===> 紼嬪簭閲嶆柊嬋媧?nbsp;!" );
}
- (void )applicationWillTerminate:(UIApplication *)application
{
NSLog(@"\n ===> 紼嬪簭鎰忓鏆傝 !" );
UIDevice *device = [UIDevice currentDevice];
}
棣栨榪愯 錛?/p>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
- (void)applicationDidBecomeActive:(UIApplication *)application
棣栨鍏抽棴錛坔ome錛夛細(xì)
- (void)applicationWillResignActive:(UIApplication *)application
- (void)applicationDidEnterBackground:(UIApplication *)application
鍐嶆榪愯錛?/span>
- (void)applicationWillEnterForeground:(UIApplication *)application
- (void)applicationDidBecomeActive:(UIApplication *)application
鍐嶆鍏抽棴錛?/span>
- (void)applicationWillResignActive:(UIApplication *)application
- (void)applicationDidEnterBackground:(UIApplication *)application
鏈枃杞嚜錛歨ttp://friendlysong.blog.163.com/blog/static/3225243920128144251666/
]]>
UIGestureRecognizer瀛︿範(fàn)絎旇錛堣漿杞斤級鈥斺旀墜鍔胯瘑鍒姛鑳?/title> http://www.shnenglu.com/wanghaiguang/archive/2014/07/29/207854.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Tue, 29 Jul 2014 05:35:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/07/29/207854.html http://www.shnenglu.com/wanghaiguang/comments/207854.html http://www.shnenglu.com/wanghaiguang/archive/2014/07/29/207854.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/207854.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/207854.html 闃呰鍏ㄦ枃 ]]> iOS 娣誨姞libxml2.dylb 鍚? 鎵句笉鍒?lt;libxml/tree.h> 澶存枃浠?/title> http://www.shnenglu.com/wanghaiguang/archive/2014/07/15/207651.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Tue, 15 Jul 2014 05:50:00 GMT http://www.shnenglu.com/wanghaiguang/archive/2014/07/15/207651.html http://www.shnenglu.com/wanghaiguang/comments/207651.html http://www.shnenglu.com/wanghaiguang/archive/2014/07/15/207651.html#Feedback 0 http://www.shnenglu.com/wanghaiguang/comments/commentRss/207651.html http://www.shnenglu.com/wanghaiguang/services/trackbacks/207651.html 鍦?/span>“Header Search Paths” 涓坊鍔?/span>“/usr/include/libxml2″ 鍦?/span>“Other Linker Flags”娣誨姞 “-lxml2″ 榪愯鍚庡嚭鐜伴敊璇壘涓嶅埌 <libxml/tree.h> 瑙e喅鍔炴硶錛?/span>鍦?/span>“Header Search Paths” 涓坊鍔?/span> ${SDKROOT} /usr/include/libxml2 ]]>
国产精品无码久久综合网 |
久久无码人妻精品一区二区三区 |
国内精品久久久久影院薰衣草
|
久久精品人人做人人妻人人玩 |
国产美女久久精品香蕉69 |
99久久免费国产精品 |
日本国产精品久久 |
99久久久精品 |
久久免费视频1 |
久久久久亚洲AV成人网 |
久久精品人人做人人爽电影 |
国产69精品久久久久777 |
99精品国产免费久久久久久下载
|
97精品伊人久久久大香线蕉 |
久久久久亚洲AV片无码下载蜜桃 |
久久九九青青国产精品 |
久久影院综合精品 |
久久婷婷色综合一区二区 |
国产毛片久久久久久国产毛片
|
国产精品久久久久久久久久影院
|
久久久久久a亚洲欧洲aⅴ |
伊人久久综合无码成人网 |
少妇久久久久久被弄到高潮
|
久久久噜噜噜久久中文字幕色伊伊 |
国产成人精品白浆久久69 |
亚洲午夜无码久久久久 |
少妇久久久久久被弄到高潮
|
久久综合综合久久狠狠狠97色88 |
久久人人爽人人爽人人片AV东京热
|
久久国产精品99精品国产 |
99精品国产免费久久久久久下载
|
国产日韩欧美久久 |
伊人久久大香线蕉影院95 |
久久w5ww成w人免费 |
久久亚洲日韩精品一区二区三区 |
东方aⅴ免费观看久久av |
97精品伊人久久大香线蕉 |
99久久精品免费看国产一区二区三区 |
亚洲国产成人精品久久久国产成人一区二区三区综
|
国产精品成人无码久久久久久 |
久久精品天天中文字幕人妻
|