13.07.2015 Views

Java – programowanie sieciowe - Koszalin

Java – programowanie sieciowe - Koszalin

Java – programowanie sieciowe - Koszalin

SHOW MORE
SHOW LESS

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()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!