Common class for NET packages

zhaozj2021-02-16  48

Import java.net.url // Represents a unified resource locator

Import java.net.urlConnection // indicates a connection to the URL identity

Import java.net.inetaddress // indicates the host address on the Internet

Import java.net.socket // represents a socket and implements two-way communication between programs

Import java.net.serversocket // represents a server socket

Import java.net.datagrampacket // indicates that the UDP protocol has a data package

Import java.net.datagramsocket // receive data packets between applications

转载请注明原文地址:https://www.9cbs.com/read-20071.html

New Post(0)