1. 網路協定中傳輸層及網路層的目的為何?
2. 說明那些是那一層的協定
1、 Application layer
i. DHCP • DNS • FTP • HTTP • IMAP4 • IRC • NNTP • XMPP •
MIME • POP3 • SIP • SMTP • SNMP • SSH • TELNET • BGP •
RPC • RTP • RTCP • TLS/SSL • SDP • SOAP • L2TP • PPTP
2、 Transport layer
i. TCP • UDP • DCCP • SCTP • GTP • …
3、 Network layer
i. IP (IPv4 • IPv6) • ARP • RARP • ICMP • IGMP • RSVP • IPSec
•…
4、 Data link layer
i. ATM • DTM • Ethernet • FDDI • Frame Relay • GPRS • PPP •
…
5、 Physical layer
i. Ethernet physical layer • ISDN • Modems • PLC • RS232 •
SONET/SDH • G.709 • Wi-Fi • …
Purpose: We can use it to read a html document and then process and analyze the
document to get the information that are hidden and overwhelmed in the html tags.
The Simple API for XML (SAX) is a serial access parser API for XML.
SAX provides a mechanism for reading data from an XML document.
It is a popular alternative to the Document Object Model (DOM).
Properties:
a. XML based
b. Message-based
c. Programming language independent
d. Could be dynamically located
e. Could be dynamically assembled or aggregated
f. Accessed over the internet
g. Loosely coupled
h. Based on industry standards
17.何謂 SOAP? UDDI? WSDL? 並說明與 web service 的關係?
A: SOAP: An XML-based, extensible message envelope format, with
"bindings" to underlying protocols. The primary protocols are HTTP
and HTTPS, although bindings for others, including SMTP and XMPP,
have been written.