Saturday, October 23, 2010

Process Type



Each process can be given a unique identity, known as the process type, in order to differentiate one process from another.
Each process will have a unique identifier, process type, to distinguish between different processes.

The process type is defined as a TUidType which can be constructed from one, two or three TUid components.
Process type is defined as TUidType type, TUidType by one, two or three TUid structural components.









Recommended links:



MTS to MP4



Easy to use E-MAIL List Management



Office Suites And Tools CATALOGS



"Cottage" can be "REGULARIZED"?



News about Audio CD Burners



H.264 to AVI



FLV to iPod



Starting from the machine filter ARP cheating worm eradication



EFFECTIVELY accelerate the running speed of



Specialist Games Arcade



CG (Computer Graphic) Feature (CG Production Steps)



How Can we know that you AutoCad Screen shown on the graphs of 1:1



VBScript Month function



Shenzhen Julong year launched China's first six-generation LCD Line



Lubricant Between The Public And Private Cloud Came Ubuntu 9.10



Insurance Goes to focus on risks And preventive measures



Tuesday, October 19, 2010

On the C # programming in the socket


C # is Microsoft's new with the VS.net a language. As a new language, with C + +, strong, and so they have a VB RAD features. Moreover, Microsoft introduced C # main purpose is to counter Sun's Java. We all know the power of Java language, especially in network programming. So, C # programming in the network are also far behind in human nature. In this paper, we introduce C # to be achieved Sockets (Sockets) some basic knowledge of programming in order to enable all of us have a general understanding of this. First, I introduce to you the concept of the socket.

Socket basic concepts:

Socket is the cornerstone of communication, support TCP / IP protocol the basic operation of the network communication unit. Socket can be seen as different host two-way communication process between the endpoints, which constitutes a single host within and between the network programming interface. Sockets exist in the communications field, communication field is to deal with the general thread through the socket communication and the introduction of an abstract concept. Sockets are usually the domain of the socket and the exchange of the same data (data exchange across domain boundaries may be, but then must perform an interpreter). Processes use the same domain with each other using Internet protocols to communicate cluster.

Sockets can communicate the nature of the classification of this nature is visible for the user. Applications generally only in the same class to communicate between sockets. But as long as the underlying communication protocol to allow different types of socket communication between the also still can. There are two different types of sockets: stream sockets and datagram sockets.

Socket works:

To communicate through the Internet, you need at least a pair of sockets, one of the runs on the client side, we call ClientSocket, another run on the server side, we call ServerSocket.

According to the way and start to connect the local socket to connect to target, the socket connection between the process can be divided into three steps: server monitoring, client requests, the connection confirmation.

The so-called server monitoring, server-side socket is not locate a specific client socket, but is waiting to connect the state, real-time monitoring network status.

The so-called client requests, is made by the client's socket connection requests, the goal is to connect to server-side socket. To this end, the client socket must first describe it to connect to the server socket, that socket server address and port number, and then made to the server-side socket connection requests.

The so-called link to confirm, when a server-side socket listening to or received by the client socket connection request, it will respond to the request of the client socket to create a new thread, the server-side socket description to the client, once the client to confirm this description, the connection is established better. The server-side socket in listening state to continue to receive other client socket connection requests.

Socket programming in C # Example:

Brief introduction to you through the basic concepts of socket programming and realization of the basic principles of the socket, I think we have a preliminary socket programming knowledge. However, the above described only the basic concepts and principles, to really use or need some work. On the basic concepts and principles of true understanding of the best way is to make yourself an example, here I introduce to you a very good realization of socket programming with C # examples - chat room program.

This procedure is based on C / S (server / client) architecture, the program includes a server-side application and a client application. First, the server is running server-side application, run the program started a server listening. Then, the client can open the client application. Program opened with the server-side applications can connect, that is, to client requests. In connection confirmation, the client user and other users in chat client. No limit on the number of clients, but also support the "whisper" chat mode, support chat. So this is a learning socket programming pretty good example. Moreover, the procedure in order to handle each client's information is also used multi-threading mechanism. In each client and server-side connection is successful, the establishment of a thread between them. This use of a multi-threaded, the client will not interaction between, even if one of them wrong and will not affect another.






Recommended links:



2.0 Homogenization



AVI to MKV



Specialist Audio Rippers And Converters



With the SET command to capture multi-line error



China OLPC ALLIANCE brewing threat of Wintel alliance formed



Wizard XML Or CSS Tools



how to solve the sql server Database query slow



ADSL FAQ wonderful Q & A?



Vigilance "wind Downloader" Summer lift vitality and



Describes the PROPERTIES of the problem MIDP



Blizzard: "StarCraft 2" continues to stand by the end of 2009 for SALE



YouTube to WMV



Matroska to MPEG



Tuesday, October 5, 2010

Peel WPS: Jinshan's insistence or abandoned



Peel WPS: Jinshan's insistence or abandoned

Today, news that the company will plan to Kingsoft WPS, PowerWord and other non-profit business spun off from listed companies, a separate set up a new company, now the program has been basically finalized, is expected to announce at the end. Although the official statement after the Jinshan denied the claim, but an official statement Jinshan, people also see on the horizon, Kingsoft is just a matter of adjustment. If the industry really as forecast in the next Kingsoft WPS and other software business will be stripped of it, I believe that there are three possibilities. One is to gradually dilute the software business, until the exit at the appropriate time, and then degenerated into a pure gaming company; the other is outside the software business as an online game to be another focus of business support, online games and software simultaneously; final is still to support the software business, its main business to stay current online games article retreat. So these three possible Jinshan will choose which one do? Kingsoft software business divestiture what the real purpose? For how can the impact of China's software industry?

If this is the first case, I think this is the most Jinshan no choice. Here may just prove Jinshan's own words, to do software do tired. Experienced 20 years of wind and rain, Jinshan's fate as its iconic calendar software WPS several ups and downs. This being had the brilliant short, but more impressive frustrated. When Jinshan to China's software industry painstaking struggle 20 years later, when I look back, actually profitable online games in China, when the Department, as the representative of China's software industry is unknown Jinshan feel? For China's software industry and software makers are relieved or sigh? Just want to divest the software business, Jinshan rumors recently released, and the State Grid Corporation Kingsoft Kingsoft WPS Office2007 on the procurement office software agreement, which should have made the software for Kingsoft and greatly encouraged, but if in such cases, the future鏈?粓璇佹槑閲戝北鍓ョ杞欢涓氬姟鏄负浜嗘贰鍖栵紝鐢氳嚦鏄斁寮冭蒋浠朵笟鍔★紝杩欒嚦灏戜粠閲戝北鐨勮搴︾湅锛屽浜庝腑鍥芥湭鏉ョ殑Office甯傚満骞朵笉涔愯锛岀敱姝や細缁欎腑鍥藉叾浠栫殑Office杞欢鍘傚晢鐨勮嚜淇″績浠ヤ笉灏忕殑鎵撳嚮锛屾洿鏄腑鍥借蒋浠朵骇涓氱殑鎮插搥銆傛墍浠ョ瑪鑰呬笉甯屾湜閲戝北鍓ョ杞欢涓氬姟鏄繖涓洰鐨勩?

銆??鍐嶇湅绗簩绉嶏紝杩欏浜庨噾灞卞簲璇ユ槸鏈?ソ鐨勯?鎷┿?鍦ㄥ綋鍓嶈蒋浠朵笟鍔¤耽鍒╃敋寰垨鑰呬笉璧㈠埄鐨勬儏鍐典笅锛屼负浜嗙敓瀛樺拰鍙戝睍锛屾殏鏃跺皢杞欢涓氬姟鍓ョ锛屼緷闈犵洰鍓嶆渶璧㈠埄鐨勭綉娓镐笟鍔℃潵涓鸿蒋浠朵笟鍔¤ˉ琛?紝鏈?ソ鏄鍓ョ鍚庣殑浠ヨ蒋浠朵笟鍔′负涓荤殑鍏徃涔熻兘鏈?粓涓婂競锛堣繃浜庣悊鎯冲寲鐨勭粨鏋滐級銆傚綋鐒惰繖鍙槸绗旇?鑷繁鐨勪竴绉嶈噯鎯虫垨鑰呰涓?鎮栬銆傚洜涓哄湪杩欓噷锛岄噾灞变箣鎵?互鍓ョ杞欢涓氬姟锛屾鏄洜涓烘?姝ょ被涓氬姟浼氭嫋绱互缃戞父涓婂競鐨勯噾灞卞叕鍙哥殑涓氱哗锛岃鏄兘琛ヨ鐨勮瘽锛屽張浣曞繀鍓ョ鍛?鍙﹀灏辨槸鍓ョ涔嬪悗锛屽浣曞畾涔夎蒋浠朵笟鍔′负涓诲拰缃戞父涓轰富涓婂競鍏徃涔嬮棿鐨勫叧绯婚兘鏄湭鐭ユ暟銆備笉杩囪瘽鍙堣鍥炴潵锛屽鏋滆繖绉嶆倴璁哄瓨鍦ㄧ殑璇濓紝鎭版伆璇佹槑杩欑浜岀鐩殑鐨勫悎鐞嗘?銆傞鍏堣鏄庨噾灞辩洰鍓嶇殑缃戞父涓氬姟铏界劧鏄富钀ュ拰璧㈠埄鐨勪笟鍔★紝浣嗛噾灞遍潰涓寸殑鍘嬪姏渚濈劧宸ㄥぇ锛堣嚦灏戜笉鑳藉湪涓嶅墺绂昏蒋浠朵笟鍔$殑鍚屾椂涓哄叾鍙戝睍琛ヨ寰堣兘璇佹槑杩欑偣锛夛紝鑰屼笖浠庣洰鍓嶅浗鍐呯綉娓稿競鍦虹湅锛岀珵浜変篃寰堟縺鐑堬紝鐭湡鍐呭皻鏈夎耽鍒╋紝鏈潵浼氭?鏍凤紝璋佷篃涓嶅ソ璇达紝鎵?互閲戝北浼氶?鎷╃浜岀锛屼篃鏄渶濂界殑閫夋嫨銆備絾灏卞儚绗旇?鍓嶉潰鎵?堪鐨勶紝濡備綍鐣屽畾涓ゅ閲戝北锛堜篃璁告湁涓?浼氭敼鍚嶏級鐨勫叧绯伙紵鏄惁鑳藉鐪熺殑鍋氬埌鎻愭惡锛岃繖灏辫鐪嬮噾灞辩殑淇″績鍜屽喅蹇冧簡銆備粠杩欑偣涓婄湅锛岃繖绗簩绉嶇粨鏋滄槸鏈?ソ锛屼篃鏄寫鎴樻?鏈?ぇ鐨勩?浣嗕竴鏃︽垚鍔燂紝杩欑鏇茬嚎鍙戝睍杞欢鐨勬ā寮忥紙鍏堥?杩囧埆鐨勯棬妲涙瘮杈冧綆鐨勪笟鍔$敓瀛橈級锛屽浜庡叾浠栫殑鍥戒骇杞欢鍘傚晢鍜屼腑鍥借蒋浠朵骇涓氱殑鍙戝睍鏄釜寰堝ソ鐨勫?閴淬?

銆??瀵逛簬绗笁绉嶏紝绗旇?璁や负鏄噾灞辨渶鏃犲锛屼篃鏄渶鍚庣殑閫夋嫨銆傝櫧鐒惰鐩墠缃戞父涓氬姟鑳藉鎸e埌閽憋紝浣嗗叾鍙楁斂绛栫殑椋庨櫓鎬т緷鐒跺緢澶с?鎯虫潵閲戝北涔熻兘澶熸剰璇嗗埌杩欑偣銆傛墍浠ヤ箻鐫?埄濂界殑鏃跺?锛屽鎸d簺閽变篃鏃犲彲鍘氶潪銆備絾涓?畾瑕佺粰鑷繁鐣欏悗鎵嬶紝鍗充竴鏃︾綉娓镐笉琛屼簡锛岄噾灞辫嚦灏戣繕鏈夎蒋浠朵笟鍔″彲閫?紝姣曠珶鐢熷瓨鏄涓?綅鐨勩?浣嗛殢涔嬭?鏉ョ殑闂鏄紝閲戝北缃戞父涓氬姟璧㈠埄鐨勬椂闂磋秺闀匡紝杞欢涓氬姟琚贰鍖栫殑鍙兘鎬ц秺澶э紝鎬曞彧鎬曠綉娓镐笟鍔′笉琛岀殑閭d竴澶╋紝鑷繁杞欢涓氬姟鐨勭珵浜夊姏涔熸墍鍓╂棤鍑犱簡锛岃繖鏃犵枒杩濊儗浜嗛噾灞卞墺绂昏蒋浠朵笟鍔$殑鍒濊》銆傛墍浠ュ湪杩欎釜鐩殑涓紝濡備綍鏉冭 缃戞父鍜岃蒋浠朵笟鍔$殑搴﹀浜庨噾灞卞嵆鏄?鎷╀篃鏄?楠屻?褰撶劧杩樻湁涓?鍙兘锛屾墍璋撴湁蹇冩牻鑺辫姳涓嶅紑锛屾棤蹇冩彃鏌虫煶鎴愯崼銆傞噾灞辩殑杩欑涓嶇粡鎰忥紙姣旇緝涓嬬殑鍘嬪姏锛夛紝鏈夊彲鑳借繕璁╄蒋浠朵笟鍔℃湁鎵?彂灞曞憿锛屽競鍦哄崈鍙樹竾鍖栵紝璋佸ソ璇村憿銆?br />
銆??涓婅堪浠呬粎鏄瑪鑰呭浜庨噾灞辨鍓ョ杞欢涓氬姟鐩殑鐨勪竴浜涚畝鍗曠寽鎯筹紝瀵逛簬杞欢鏄潥鎸佽繕鏄斁寮冿紝杩欐槸涓棶棰橈紝杩樻槸璁╂垜浠嫮鐩互寰呭惂銆?br />






相关链接:



RMVB to MP4



electronic gadgets for every day usage micro led



TS To MPG



MKV To FLV