QQ enterprise passes ---- ---- UDPSocket component library design

Knowledge points:

IPEndPoint     will be represented as a network endpoint IP address and port number.

UdpClient    provide the User Datagram (UDP) network services.

dataarrival event

IPAddress     provide Internet Protocol (IP) address.

BrowsableAttribute    Specifies whether a property (Property) or event should be displayed in the "Properties" window.

BrowsableAttribute . The Browsable             Gets a value indicating whether this object can browse.

CategoryAttribute      Specifies property (Property) or Event Display "by category order" mode is set as a name when PropertyGrid control, or for a property of the packet class event.

CategoryAttribute . The Category (attribute) Gets applies to property (Property) or class name of the event this property (Attribute).

DescriptionAttribute     for specifying explanation of the test. This class can not be inherited.

DescriptionAttribute .Description (property) for a description of the tests. .

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/bedfly/p/12078781.html