Java â programowanie sieciowe - Koszalin
Java â programowanie sieciowe - Koszalin
Java â programowanie sieciowe - Koszalin
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
InetAddress●●●●Klasa reprezentuje 32 bitowy lub 128 bitowy adresIP na protokole transportowym UDP lub TCPZłożony jest z adresu IP oraz nazwy hostaDwa typy adresów: multicast i unicast.Metody:●●●●static getLocalHost() – zwraca obiekt klasy InetAddresopisujący lokalny komputerString getHostAddress() – zwraca adres w postaciXXX.XXX.XXX.XXXString getHostName() – zwraca adres w postacimaszyna.domena1.domena2 …Metody pomocnicze, np. isMulticastAddress()