52ky 发表于 2022-10-1 17:26:15

Socket网络编程学习笔记

一、IP地址操作类1、IPAddress类a、在该类中有一个?Parse()方法,可以把点分的十进制IP表示转化成IPAddress类,方法如下:IPAddressaddress=IPAddress.Parse(“192.168.0.1”);b、IPAddress提供4个只读字段Any??关于代表本地系统可用的任何IP地址Broadcase关于代表本地网络的IP播送地址Loopback关于代表系统的回送地址?None关于代表系统上没有网络接口
Socket网络编程学习笔记.doc

(1、 IP address operation class 1, IPAddress class a, there is a "IP address operation class" in this class? Parse() method, which can convert dotted decimal IP representation into IPAddress class. The method is as follows: IPAddressaddress=IPAddress. Parse ("192.168.0.1"); b. IPAddress provides four read-only fields Any?? About any IP address available on behalf of the local system Broadcase About the IP broadcast address on behalf of the local network Loopback About the echo address on behalf of the system? None indicates that there is no network interface on the system
Socket Network Programming Learning Notes.doc)




页: [1]
查看完整版本: Socket网络编程学习笔记