TOPIC 1 - Networking Theory
January 8, 2015 | By nurkasih |
This topic introduces the basic of networking theory and some security issues. It also explains the overview of Java in network programming.
More from nurkasih
2 2.1 Socket layer, and the Berkeley Socket API Figure 2 shows the TCP/IP protocol stack, and shows where the “Socket layer” may be placed. Again, please be advised that this is just a representation to indicate the level at which we operate when
Internet architecture and application protocols. • A number of other protocols can run on top of IP. The most commonly requested is ICMP, the Internet Control Message Protocol, which uses raw IP datagrams to relay error messages between hosts. The best-known use of this protocol is in the ping program. • Java does not support ICMP nor does it allow the sending of raw IP datagrams (as opposed to TCP segments or UDP datagrams). The only protocols Java supports are TCP and UDP, and application layer protocols built on top of these. All other transport layer, internet layer, and lower layer protocols such as ICMP, IGMP, ARP, RARP, • RSVP, and others can only be implemented in Java programs by using native code.