ÓÖÒ»¸öʹÓÃIOCPÀ´»ñµÃsocketÁ¬½Ó״̬±ä»¯µÄ·þÎñÆ÷³ÌÐò- Uses IOCP to obtain the socket connection change of state the server procedure ÏÂÔØ
|
¼ì²âÄãµÄ¼ÆËã»úÊÇ·ñ´¦ÓÚÍøÂçÁ¬½Ó״̬£¡³ÌÐòʹÓÃDelphi¿ª·¢¡£- ÏÂÔØ
|
winsocket±à³Ì ·þÎñÆ÷¶Ë³ÌÐò µ±·þÎñÆ÷¶ËµÄÍøÂç¼àÌý¹¦ÄÜ´ò¿ªºó£¬±ã´¦ÓÚʵʱµÄ¼àÌý״̬£¬¿É¼´Ê±¼àÌýµ½Óû§Í¨¹ýsocket·¢À´µÄÐÅÏ¢²¢½øÐÐÏàÓ¦µÄ´¦Àí£¬¿Éͬʱ½ÓÊܶà¸öÓû§Í¬Ê±Á¬½Ó£¬²¢¿ªÆô¶à¸ö´¦ÀíÏ̡߳£-winsocket programming process server when the server side of the open network monitoring functions, it is a real-time status monitoring, immediately listening to the user through the socket to the information and the corresponding treatment can also accept multiple users simultaneous connections, and open more of threads. ÏÂÔØ
|
Óò¦ºÅÍøÂ粦ºÅ¼°È¡µÃÁ¬½Ó״̬-using dial-up and dial-up Internet connections made state ÏÂÔØ
|
C#±àµÄ״̬¿Í»§¶Ë£¬¾ß±¸Ì×½Ó×ÖÁ¬½Ó³Ø¡£-C# Part of the client state, with socket connection pool. ÏÂÔØ
|
ÓÃÓÚ²éѯ±¾»úµ±Ç°ËùÓÐTCP»òUDPÁ¬½Ó״̬µÄDLL -inquiries for the machine all current TCP or UDP connection status DLL ÏÂÔØ
|
¿ØÖƲ¦ºÅÁ¬½ÓµÄÀà,Ìṩ²¦ºÅ,¹Ò¶Î,ÍÑ»ú¹¤×÷µÈ·½·¨,¼ì²âÁ¬½Ó״̬-control dial-up category, dial-up, hanging, off-line work methods to detect the state of the link ÏÂÔØ
|
±¾³ÌÐò¿É»ñÈ¡±¾µØÍøÂç¶Ë¿Ú״̬£¬Í¨¹ýIPµØÖ·£¬»ñÈ¡¶Ë¿ÚºÅ¡¢¶Ë¿Ú״̬¡¢Á¬½Ó´ÎÊý...ÈÃÓû§Çå³þ±¾µØÍøÂçµÄ°²È«ÐÔ¡£-this program will be able to acquire state of the local network port, IP address, access to the port, the port state, ... and the number of connected users a clear understanding of the local network security. ÏÂÔØ
|
Ï̵߳ĸÅÄî¡¢ÊôÐÔ£»ÏßÐÔ´´½¨µÄ2ÖÖ·½Ê½¼°ÆäÁªÏµ¡¢Çø±ðºÍʹÓó¡ºÏ£»Ï̵߳ÄÉúÃüÖÜÆÚºÍ5ÖÖ״̬£»Ïß³Ì״̬¿ØÖƵÄÒ»°ã·½·¨£»Ïß³Ìͬ²½µÄ¸ÅÄî¡¢ÔÀí£»Ïß³Ìͬ²½µÄ³¡ºÏ¡¢Ïß³Ìͬ²½µÄÌõ¼þ¡¢Í¬²½¶ÔÏóµÄѡȡ£»Ï̼߳äͨѶµÄ¸ÅÄÓëÏß³Ìͬ²½µÄÇø±ð£»notifyºÍwaitµÄʹÓ÷½·¨¡£Á½ÀàsocketͨÐŵĸÅÄî¡¢ÌØµã¡¢Ó¦Óó¡ºÏ£»Á½ÀàsocketͨÐŵĿͻ§ºÍ·þÎñ¶ËµÄ»ù±¾²½Ö裻×鲥ͨÐŵĸÅÄî¡¢×é²¥¿Í»§¶Ë·þÎñ¶ËµÄ»ù±¾½á¹¹¡£ -threads concept attribute; The creation of two linear models and their connections, and the use of different occasions; Threads of the life cycle and five state; Thread the general state control; Thread synchronization concept, principle; Thread Synchronization occasions, thread synchronization, the synchronization like the selection; Thread the concept of communication, and synchronization of different threads; notify the wait and use. Two types of socket communication concept, features, applications; Two types of socket communication and customer service side of the basic steps; The concept of multicast communication, multicast client services side of the basic structure. ÏÂÔØ
|
ÀûÓÃICMPÐÒéʵÏÖ¶Ô¶Ô·½»î¶¯Ö÷»úµÄping̽²â,Èç¹û¶Ô·½Ö÷»ú´¦»î¶¯×´Ì¬£¬ÏìÓ¦-use ICMP protocol to the other activities of the host ping detection, If the activities of the other host state, in response to ÏÂÔØ
|