Network programming 14/01/2013. Introduction. Session objectives. Client/Server working model. Advanced Java Programming Course

Size: px
Start display at page:

Download "Network programming 14/01/2013. Introduction. Session objectives. Client/Server working model. Advanced Java Programming Course"

Transcription

1 Advanced Java Prgramming Curse Netwrk prgramming Sessin bjectives Netwrking intrductin URL Class InetAddress Class By Võ Văn Hải Faculty f Infrmatin Technlgies Industrial University f H Chi Minh City Wrking with Scket cnnectin-based prtcl cnnectinless-riented prtcl Remte Methd Invcatin (RMI) 2 Client/Server wrking mdel Intrductin 3 4 1

2 Internet architecture: Prtcls & Layers TCP/IP Overview Internet architecture based n Internet prtcl suite cncept als called TCP/IP suite. TC/IP suite cntains many prtcls SMTP, HTTP, FTP, BitTrrent, POP3, UDP, IRC, SNMP, TCP, IP, Wi-Fi.. The varius prtcls are ften categrized in Layers TCP IP TCP is a stream-based prtcl ver IP TCP prmises a reliable transprt TCP takes care f packet rdering, packet lss and data crruptin. A TCP stream is a cnnectin. IP is a prtcl fr cnnecting netwrks IP is a packet-based prtcl Packets can be drpped, garbled r re-rdered and duplicated: IP prmises nthing but best-effrt delivery IP usually runs ver ethernet, but nt always 5 6 TCP/IP Overview TCP ver IP IP Header IP Data Hw Cmputers Cmmunicate When tw applicatins (A and B) n remte machines want t cmmunicate with each ther TCP Header TCP Data Using TCP A cntacts B and wait fr B s respnse If B agree, will then respnd t A (a cnnectin is established) Src Dst Type: TCP Src Prt Dst Prt Seq Num Applicatin Data A & B nw can send data back and frth ver that cnnectin. Using UDP A nly needs t knw B's address. A send data t B (d nt care B is available r nt) 7 8 2

3 Netwrking Applicatin Basics Hst & Internet Address Netwrking Applicatin Basics Cncept f Prts Hst Devices cnnected t the Internet are called hsts Mst hsts are cmputers, but hsts als include ruters, printers, fax machines, sda machines, bat huses, etc. Internet addresses Every hst n the Internet is identified by a unique, fur-byte Internet Prtcl (IP) address. This is written in dtted quad frmat like where each byte is an unsigned integer between 0 and 255. There are abut fur billin unique IP addresses, but they aren t very efficiently allcated A cmputer generally has a single physical cnnectin available fr the netwrk. Several applicatins running n a machine need t use this single physical cnnectin fr cmmunicatin. If data arrives at these physical cnnectins, there is n means t identify the applicatin t which it shuld be frwarded. Hence, data being sent and received n the physical cnnectin are based n the cncept f prts Netwrking Applicatin Basics Cncept f a Prts The physical cnnectin is lgically numbered within a range f 0 t called as Prts. The prt numbers ranging frm 0 t 1023 are reserved fr well knwn services such as HTTP, FTP Yur applicatins shuld nt use any f the prt numbers in this range. Data transmitted ver the Internet is accmpanied with the destinatin address and the prt number. The destinatin address identifies the cmputer The prt number identifies the applicatin. The InetAddress Class The InetAddress represents an Internet Prtcl (IP) address It retrieves the hst address/name. It prvides methds t reslve hst names t their IP addresses and vise versa

4 URL The URL class A URL, shrt fr "Unifrm Resurce Lcatr", is a way t unambiguusly identify the lcatin f a resurce n the Internet. The resurce can be an HTML page, an image r simply any file. URL frm prtcl://resurce Prtcl Identifier Name f the prtcl, which is used t fetch the resurce frm the Internet. Resurce Name Address f the resurce Separated frm the prtcl identifier with a cln and tw frward slashes Resurce frmat depends n the prtcl being used URL examples file:///macintsh%20hd/java/dcs/jdk% %20dcs/a pi/java.net.inetaddress.html#_tp_ ftp://ftp.inf.apple.cm/pub/ mailt:elhar@metalab.unc.edu telnet://utpia.ply.edu ftp://mp3:mp3@ :21000/c%3a/stuff/mp3/ al+wrks 15 The java.net.url class The URL class represents an URL bject. The URL class cntains methds t create new URLs parse the different parts f a URL get an input stream frm a URL s yu can read data frm a server get cntent frm the server as a Java bject Supprted Prtcls file ftp gpher http mailt appletresurce dc netdc systemresurce verbatim 16 4

5 Parsing URLs The java.net.url class has five methds t split a URL int its cmpnent parts. These are: public String getprtcl() public String gethst() public int getprt() public String getfile() public String getref() Reading Data frm a URL URL example The penstream() methd cnnects t the server specified in the URL and returns an InputStream bject fed by the data frm that cnnectin. public final InputStream penstream() thrws IOExceptin Any headers that precede the actual data are stripped ff befre the stream is pened. Netwrk cnnectins are less reliable and slwer than files. Buffer with a BufferedReader r a BufferedInputStream

6 URLCnnectins The java.net.urlcnnectin class is an abstract class that The URLCnnectin class handles cmmunicatin with different kinds f servers like ftp servers and web servers. Prtcl specific subclasses f URLCnnectin handle different kinds f servers. By default, cnnectins t HTTP URLs use the GET methd. Capacities: Can send utput as well as read input Can pst dat Can read headers frm a cnnectin URLCnnectin five steps I/O Acrss a URLCnnectin 1. The URL is cnstructed. 2. The URL s pencnnectin() methd creates the URLCnnectin bject. 3. The parameters fr the cnnectin and the request prperties that the client sends t the server are set up. Data may be read frm the cnnectin in ne f tw ways raw by using the input stream returned by getinputstream() thrugh a cntent handler with getcntent(). Data can be sent t the server using the utput stream prvided by getoutputstream(). 4. The cnnect() methd makes the cnnectin t the server. 5. The respnse header infrmatin is read using getheaderfield()

7 HTML n Cmpnents HTML in Swing Mst text-based Swing cmpnents, such as labels, buttns, menu items, tabbed panes, and tl tips, can have their text specified as HTML. The cmpnent will display it apprpriately The JEditrPane class This class prvides an even mre cmplete HTML 3.2 renderer that can handle frames, frms, hyperlinks, and parts f CSS Level 1. The JEditrPane class als supprts plain text and basic RTF The JEditrPane class example Cnstructrs Navigate/Display cntents

8 Implementing server Scket prgramming The Java interface with a TCP cnnectin is a scket. Scket prgramming TCP Scket A scket is a Java bject which has methds t cnnect, accept cnnectins and transfer data. Cre Netwrking is in java.net.* TCP Sckets cme in tw flavrs : ServerScket and Scket Implementing server The ServerScket Class Implementing server The ServerScket Class (cnt.) Represent the server side f the tw-way cmmunicatin. The ServerScket has t bind t a specific prt which shuld be free and available. If the prt is being used by any ther applicatin, an exceptin is thrwn. If the ServerScket class is successful in binding t a prt, it can then wait and listen fr client request t establish cnnectins

9 Implementing server Wrking with the ServerScket class Once a ServerScket instance is created, yu can invke the accept() methd t listen fr client request. The accept () methd is a blcking methd that is nce invked it will wait till a client requests fr a cnnectin. When a client requests fr a cnnectin, the accept() methd creates a scket bject f class Scket and returns it. Implementing server Wrking with the Scket class Represent the cnnectin between a client prgram and a server prgram. Represents the client side f the cnnectin This returned bject represents a prxy f a client. T cmmunicate with the client, yu retrieve the Inputstream and Outputstream f this prxy scket bject Implementing server Lgic diagram t implements a server Implementing server Example 1) It gets a cmmand frm the client thrugh an incming data stream. 2) It smehw fetches the infrmatin. 3) It sends the infrmatin t the client thrugh the utging data stream

10 Implementing server Serving Multiple clients Implementing server Serving Multiple clients example One ServerScket can accept multiple clients simultaneusly. Use multithreading t handle them. One thread waits fr accept(). Open a new thread fr each cnnectin Fr cnnectin-based prtcl - Scket class Represent the cnnectin between a client prgram and a server prgram. Represents the client side f the cnnectin Implementing client Lgic diagram t implements a client 1) Create a cnnectin t the server 2) Send request infrmatin t the server thrugh the utging data stream. 3) It receives the infrmatin frm the server thrugh the incming data stream. 4) Prcessing received infrmatin 40 FPT- APTECH 40/

11 Implementing client Client example Data transmissin recmmendatins T transmit text nly data, we can use InputStream and OutputStream. T transmit binary data, we must turn the streams int DataInputStream and DataOutputStream. T transmit serialized bjects, we wuld use ObjectInputStream and ObjectOutputStream instead User Datagram Prtcl (UDP) intrductin UDP can be used t send packets. The packets can be delivered in randm rder. It is up t the recipient t put the packets in rder and t request retransmissin f missing packets. User Datagram Prtcl (UDP) Create Datagram Scket DatagramScket scket = new DatagramScket(prt); The client uses a cnstructr that des nt require a prt number. This cnstructr just binds the DatagramScket t any available lcal prt. It desn't matter what prt the client is cnnected t because the DatagramPackets cntain the addressing infrmatin. UDP is mst suited fr applicatins where missing packets can be tlerated, fr example, in audi r vide streams... The server gets the prt number frm the DatagramPackets and send its respnse t that prt

12 User Datagram Prtcl (UDP) The Datagram packet An independent, self-cntained message sent ver the netwrk. User Datagram Prtcl (UDP) The DatagramPacket class Used t emply a cnnectinless packet delivery service. Packet delivery is nt guaranteed Datagram packet structure Addressing infrmatin (IP) Prt Sequence f bytes 46 FPT- APTECH 46/43 47 User Datagram Prtcl (UDP) Hw t use DatagramScket class Once a DatagramScket instance is created, it can be used t send and receive data using packets. User Datagram Prtcl (UDP) Prcessing lgic - Client send Request t Server

13 User Datagram Prtcl (UDP) Prcessing lgic - Server receive Request frm Client User Datagram Prtcl (UDP) Prcessing lgic - Server Sends Respnse The getdata() methd t retrieve that data frm the packet User Datagram Prtcl (UDP) Prcessing lgic Client receive respnse The Multicast Scket?

14 Remte Methd Invcatin The Rles f Client and Server synchrnized request/respnse mdel 55 Remte Methd call with prxies new apprach The netwrk is the cmputer * Cnsider the fllwing prgram rganizatin: methd call SmeClass AntherClass returned bject cmputer 1 cmputer 2 If the netwrk is the cmputer, we ught t be able t put the tw classes n different cmputers RMI is ne technlgy that makes this pssible

15 What is RMI? RMI Architecture RMI allws bjects in ne JVM t invke methds f bjects in anther JVM. All in java.rmi package 1. RMI Server prvides an RMI service. 2. RMI Client invkes bject methds f RMI service 3. rmiregistry prgram Runs as a separate prcess Allws applicatins t register RMI services Allws btain a reference t a named service. 4. Stub bject Resides n the client side Respnsible fr passing a message t a remte RMI service, waits fr a respnse, and returns this respnse t the client Stubs Parameters marshalling When client cde wants t invke a remte methd n a remte bject, it actually calls an rdinary methd f the Java prgramming language that is encapsulated in a surrgate bject called a stub. The stub packages the parameters used in the remte methd int a blck f bytes. This packaging uses a device-independent encding fr each parameter. The prcess f encding the parameters is called parameter marshalling. The purpse f parameter marshalling is t cnvert the parameters int a frmat suitable fr transprt frm ne virtual machine t anther

16 Implementing RMI applicatin prcess 1. Define RMI Service Interface 2. Implement RMI Service Interface 3. Create RMI Server prgram 4. Create RMI Client prgram 5. Running the RMI applicatin #1/5 Define RMI Service Interface Yur client prgram needs t manipulate server bjects, but it desn't actually have cpies f them. Their capabilities are expressed in an interface that is shared between the client and server and s resides simultaneusly n bth machines. The interface characteristics: Must be public Must extend the interface java.rmi.remte Every methd in the interface must declare that it thrws java.rmi.remteexceptin (ther exceptins may als be thrwn) #2/5 Implementing RMI Service Interface #3/5 Creating RMI Server prgram On the server side, yu must implement the class that actually carries ut the methds advertised in the remte interface The class characteristics: Shuld extend java.rmi.server.unicastremteobject Must implement a Remte interface Must have a default cnstructr. The RMI server is respnsible fr: 1. Instance bject f a service implementatin class 2. Registering it with the RMI registry

17 #4/5 Creating RMI Client prgram #5/5 Running the RMI System The client btains an bject reference t the remte interface by making a lkup in the RMI registry Then invking methds f the service interface. 66 Start Server Cmpile all java file as nrmal. cmd: javac *.java Start rmiregistry prgram. cmd: start rmiregistry Run server prgram. cmd: start java Calc_Server Start Client Create plicy file cmd: client.plicy Run client cmd: java -Djava.security.plicy=client.plicy Calc_Client 67 Security Others By default, the RMISecurityManager restricts all cde in the prgram frm establishing netwrk cnnectins. Hwever, the prgram needs t make netwrk cnnectins T reach the RMI registry; and T cntact the server bjects T allw the client t cnnect t the RMI registry and the server bject, yu supply a plicy file. Here is a plicy file that allws an applicatin t make any netwrk cnnectin t a prt with prt number f at least 1024: grant{ }; permissin java.net.scketpermissin "*: ","cnnect"; Listing all bunded remte bjects in registry Create yur wn RMIRegistry java.rmi.registry.lcateregistry.createregistry(1099);

18 Summary FAQ Data exchange thrugh netwrk using Scket, UDP Remte methd invcatin That s all fr this sessin! Thank yu all fr yur attentin and patient! /27 18

Andrid prgramming curse Sessin bjectives Intrductin URL & HttpCnnectin Netwrking APIs Using URL t read data Using HttpCnnectin pst data Reading netwrk state Web Service SOAP REST By Võ Văn Hải Faculty

More information

CCNA 1 Chapter v5.1 Answers 100%

CCNA 1 Chapter v5.1 Answers 100% CCNA 1 Chapter 9 2016 v5.1 Answers 100% 1. Which tw characteristics are assciated with UDP sessins? (Chse tw.) Destinatin devices receive traffic with minimal delay. Transmitted data segments are tracked.

More information

The transport layer. Transport-layer services. Transport layer runs on top of network layer. In other words,

The transport layer. Transport-layer services. Transport layer runs on top of network layer. In other words, The transprt layer An intrductin t prcess t prcess cmmunicatin CS242 Cmputer Netwrks Department f Cmputer Science Wellesley Cllege Transprt-layer services Prvides fr lgical cmmunicatin* between applicatin

More information

Programming Project: Building a Web Server

Programming Project: Building a Web Server Prgramming Prject: Building a Web Server Submissin Instructin: Grup prject Submit yur cde thrugh Bb by Dec. 8, 2014 11:59 PM. Yu need t generate a simple index.html page displaying all yur grup members

More information

Lecture 6 -.NET Remoting

Lecture 6 -.NET Remoting Lecture 6 -.NET Remting 1. What is.net Remting?.NET Remting is a RPC technique that facilitates cmmunicatin between different applicatin dmains. It allws cmmunicatin within the same prcess, between varius

More information

Java Programming Course IO

Java Programming Course IO Java Prgramming Curse IO By Võ Văn Hải Faculty f Infrmatin Technlgies Industrial University f H Chi Minh City Sessin bjectives What is an I/O stream? Types f Streams Stream class hierarchy Cntrl flw f

More information

Practical Exercises in Computer Networks and Distributed Systems

Practical Exercises in Computer Networks and Distributed Systems (V..6, Nv 2) Practical Exercises in Cmputer Netwrks and Distributed Systems Stream Sckets and the Client/Server mdel (C language, W) 2-, Jsé María F Mrán This practical illustrates basic cncepts prtcl

More information

On the road again. The network layer. Data and control planes. Router forwarding tables. The network layer data plane. CS242 Computer Networks

On the road again. The network layer. Data and control planes. Router forwarding tables. The network layer data plane. CS242 Computer Networks On the rad again The netwrk layer data plane CS242 Cmputer Netwrks The netwrk layer The transprt layer is respnsible fr applicatin t applicatin transprt. The netwrk layer is respnsible fr hst t hst transprt.

More information

Chapter 2. The OSI Model and TCP/IP Protocol Suite. PDF created with FinePrint pdffactory Pro trial version

Chapter 2. The OSI Model and TCP/IP Protocol Suite. PDF created with FinePrint pdffactory Pro trial version Chapter 2 The OSI Mdel and TCP/IP Prtcl Suite PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm Outline THE OSI MODEL LAYERS IN THE OSI MODEL TCP/IP PROTOCOL SUITE ADDRESSING TCP/IP

More information

Transmission Control Protocol Introduction

Transmission Control Protocol Introduction Transmissin Cntrl Prtcl Intrductin TCP is ne f the mst imprtant prtcls f Internet Prtcls suite. It is mst widely used prtcl fr data transmissin in cmmunicatin netwrk such as Internet. Features TCP is reliable

More information

SafeDispatch SDR Gateway for MOTOROLA TETRA

SafeDispatch SDR Gateway for MOTOROLA TETRA SafeDispatch SDR Gateway fr MOTOROLA TETRA SafeMbile ffers a wrld f wireless applicatins that help rganizatins better manage their mbile assets, fleet and persnnel. Fr mre infrmatin, see www.safembile.cm.

More information

REST; WebSocket (RFC 6455)

REST; WebSocket (RFC 6455) REST; WebScket (RFC 6455) Web Oriented Technlgies and Systems Prf. Michele Ruta Master s Degree Curse in Cmputer Engineering - (A.Y. 2016/2017) REST REST = Representatinal State Transfer. Anther architectural

More information

DS LABS DISTRIBUTED SYSTEMS PRACTICAL EXERCISES

DS LABS DISTRIBUTED SYSTEMS PRACTICAL EXERCISES DS LABS DISTRIBUTED SYSTEMS PRACTICAL EXERCISES Java Streams and TCP Sckets Jsé María F Mrán, 2013 Creative Cmmns License 9 OCTUBRE 2013 1 JAVA SOCKETS (TCP) 7 web server 7 firefx Applicatins Applicatins

More information

CCNA 1 Chapter v5.1 Answers 100%

CCNA 1 Chapter v5.1 Answers 100% CCNA 1 Chapter 6 2016 v5.1 Answers 100% 1. Which characteristic f the netwrk layer in the OSI mdel allws carrying packets fr multiple types f cmmunicatins amng many hsts? the de-encapsulatin f headers

More information

Second Assignment Tutorial lecture

Second Assignment Tutorial lecture Secnd Assignment Tutrial lecture INF5040 (Open Distributed Systems) Faraz German (farazg@ulrik.ui.n) Department f Infrmatics University f Osl Octber 17, 2016 Grup Cmmunicatin System Services prvided by

More information

BMC Remedyforce Integration with Remote Support

BMC Remedyforce Integration with Remote Support BMC Remedyfrce Integratin with Remte Supprt 2003-2018 BeyndTrust, Inc. All Rights Reserved. BEYONDTRUST, its lg, and JUMP are trademarks f BeyndTrust, Inc. Other trademarks are the prperty f their respective

More information

BMC Remedyforce Integration with Bomgar Remote Support

BMC Remedyforce Integration with Bomgar Remote Support BMC Remedyfrce Integratin with Bmgar Remte Supprt 2017 Bmgar Crpratin. All rights reserved wrldwide. BOMGAR and the BOMGAR lg are trademarks f Bmgar Crpratin; ther trademarks shwn are the prperty f their

More information

CCNA 1 Chapter v5.1 Answers 100%

CCNA 1 Chapter v5.1 Answers 100% CCNA 1 Chapter 5 2016 v5.1 Answers 100% 1. What happens t runt frames received by a Cisc Ethernet switch? The frame is drpped. The frame is returned t the riginating netwrk device. The frame is bradcast

More information

These tasks can now be performed by a special program called FTP clients.

These tasks can now be performed by a special program called FTP clients. FTP Cmmander FAQ: Intrductin FTP (File Transfer Prtcl) was first used in Unix systems a lng time ag t cpy and mve shared files. With the develpment f the Internet, FTP became widely used t uplad and dwnlad

More information

IT Essentials (ITE v6.0) Chapter 7 Exam Answers 100% 2016

IT Essentials (ITE v6.0) Chapter 7 Exam Answers 100% 2016 IT Essentials (ITE v6.0) Chapter 7 Exam Answers 100% 2016 1. Hw many devices can a Bluetth device cnnect t simultaneusly? 127 7 10 24 5 2. A device has an IPv6 address f 2001:0DB8:75a3:0214:0607:1234:aa10:ba01

More information

Admin Report Kit for Exchange Server

Admin Report Kit for Exchange Server Admin Reprt Kit fr Exchange Server Reprting tl fr Micrsft Exchange Server Prduct Overview Admin Reprt Kit fr Exchange Server (ARKES) is an Exchange Server Management and Reprting slutin that addresses

More information

Chapter 5. The Network Layer IP

Chapter 5. The Network Layer IP Chapter 5 The Netwrk Layer IP These slides are taken frm the bk Cmputer etwrking, A Tp Dwn Apprach Featuring the Internet by Kurse & Rss and frm the bk Cmputer etwrks by Andrew Tanenbaum. The Netwrk Layer

More information

Operational Security. Speaking Frankly The Internet is not a very safe place. A sense of false security... Firewalls*

Operational Security. Speaking Frankly The Internet is not a very safe place. A sense of false security... Firewalls* Operatinal Security Firewalls and Intrusin Detectin CS242 Cmputer Netwrks Speaking Frankly The Internet is nt a very safe place Frm ur netwrk administratr s pint f view, the wrld divides int tw camps:

More information

Planning, installing, and configuring IBM CMIS for Content Manager OnDemand

Planning, installing, and configuring IBM CMIS for Content Manager OnDemand Planning, installing, and cnfiguring IBM CMIS fr Cntent Manager OnDemand Cntents IBM CMIS fr Cntent Manager OnDemand verview... 4 Planning fr IBM CMIS fr Cntent Manager OnDemand... 5 Prerequisites fr installing

More information

Link-layer switches. Jurassic Park* LANs with backbone hubs are good. LANs with backbone hubs are bad. Hubs, bridges, and switches

Link-layer switches. Jurassic Park* LANs with backbone hubs are good. LANs with backbone hubs are bad. Hubs, bridges, and switches Link-layer switches Jurassic Park* Hubs, bridges, and switches CS4 Cmputer Netwrks Department f Cmputer Science Wellesley Cllege *A multi-tier hub design. Switches 0- LANs with backbne hubs are gd. Prvide

More information

Andrid prgramming curse Data strage Sessin bjectives Internal Strage Intrductin By Võ Văn Hải Faculty f Infrmatin Technlgies Andrid prvides several ptins fr yu t save persistent applicatin data. The slutin

More information

Overview of Data Furnisher Batch Processing

Overview of Data Furnisher Batch Processing Overview f Data Furnisher Batch Prcessing Nvember 2018 Page 1 f 9 Table f Cntents 1. Purpse... 3 2. Overview... 3 3. Batch Interface Implementatin Variatins... 4 4. Batch Interface Implementatin Stages...

More information

Traffic Shaping (Part 1)

Traffic Shaping (Part 1) Lab 2a Traffic Shaping (Part 1) Purpse f this lab: In this lab yu will build (prgram) a netwrk element fr traffic shaping, called a leaky bucket, that runs ver a real netwrk. The traffic fr testing the

More information

(ii). o IP datagram packet is payload of a TCP segment o TCP segment is payload of an IP datagram. (iii).

(ii). o IP datagram packet is payload of a TCP segment o TCP segment is payload of an IP datagram. (iii). CSC 344: Cmputer Netwrks Review Questins 1. Select the crrect answer amng the chices by placing a checkmark next t the right statement. (i). ARP (Address Reslutin Prtcl) is used t btain IP address fr a

More information

Troubleshooting of network problems is find and solve with the help of hardware and software is called troubleshooting tools.

Troubleshooting of network problems is find and solve with the help of hardware and software is called troubleshooting tools. Q.1 What is Trubleshting Tls? List their types? Trubleshting f netwrk prblems is find and slve with the help f hardware and sftware is called trubleshting tls. Trubleshting Tls - Hardware Tls They are

More information

Connect+/SendPro P Series Networking Technical Specification

Connect+/SendPro P Series Networking Technical Specification Shipping & Mailing Pstage Meters Cnnect+/SendPr P Series Netwrking Technical Specificatin Intrductin 2 Netwrk Requirements 2 Prt/Cmmunicatin Requirements 2 URL Infrmatin 3 FAQs 10 Service Cllateral SV62440

More information

Chapter 4. IP Addresses: Classful Addressing. PDF created with FinePrint pdffactory Pro trial version

Chapter 4. IP Addresses: Classful Addressing. PDF created with FinePrint pdffactory Pro trial version Chapter 4 IP Addresses: Classful Addressing Outlines Intrductin Classfuladdressing Other issues A sample Internet 4.1 INTRODUCTION Intrductin IP address, r Internet Address 32-bit binary address Uniquely

More information

CCNA course contents:

CCNA course contents: CCNA curse cntents: Prerequisites: The knwledge and skills that yu must have befre attending this curse are as fllws: Basic cmputer literacy Windws navigatin skills Basic Internet usage skills Fundamental

More information

Networks: Communicating and Sharing Resources. Chapter 7: Networks: Communicating and Sharing Resources

Networks: Communicating and Sharing Resources. Chapter 7: Networks: Communicating and Sharing Resources Netwrks: Cmmunicating and Sharing Resurces Chapter 7: Netwrks: Cmmunicating and Sharing Resurces 1 Netwrks: Cmmunicating and Sharing Resurces 2 Objectives Understand basic netwrking cncepts. Distinguish

More information

Date: October User guide. Integration through ONVIF driver. Partner Self-test. Prepared By: Devices & Integrations Team, Milestone Systems

Date: October User guide. Integration through ONVIF driver. Partner Self-test. Prepared By: Devices & Integrations Team, Milestone Systems Date: Octber 2018 User guide Integratin thrugh ONVIF driver. Prepared By: Devices & Integratins Team, Milestne Systems 2 Welcme t the User Guide fr Online Test Tl The aim f this dcument is t prvide guidance

More information

EView/400i Management Pack for Systems Center Operations Manager (SCOM)

EView/400i Management Pack for Systems Center Operations Manager (SCOM) EView/400i Management Pack fr Systems Center Operatins Manager (SCOM) Cncepts Guide Versin 7.0 July 2015 1 Legal Ntices Warranty EView Technlgy makes n warranty f any kind with regard t this manual, including,

More information

One reason for controlling access to an object is to defer the full cost of its creation and initialization until we actually need to use it.

One reason for controlling access to an object is to defer the full cost of its creation and initialization until we actually need to use it. Prxy 1 Intent Prvide a surrgate r placehlder fr anther bject t cntrl access t it. Als Knwn As Surrgate Mtivatin One reasn fr cntrlling access t an bject is t defer the full cst f its creatin and initializatin

More information

Getting the Most from REST and JSON

Getting the Most from REST and JSON Getting the Mst frm REST and JSON Jhn Tuhy March 2018 Character encding review Single byte character encding ASCII OEM ANSI Multi-byte character encding (Unicde) UTF-16 UTF-8 DataFlex des mst f its character

More information

CCNA 1 v5.1 Practice Final Exam Answers %

CCNA 1 v5.1 Practice Final Exam Answers % CCNA 1 v5.1 Practice Final Exam Answers 2016 100% 1. Which term refers t a netwrk that prvides secure access t the crprate ffices by suppliers, custmers and cllabratrs? Internet intranet extranet extendednet

More information

Java Database Connectivity

Java Database Connectivity Advanced Java Prgramming Curse Java Database Cnnectivity Sessin bjectives JDBC basic Wrking with JDBC Advanced JDBC prgramming By Võ Văn Hải Faculty f Infrmatin Technlgies Industrial University f H Chi

More information

CCNA Security v2.0 Chapter 3 Exam Answers

CCNA Security v2.0 Chapter 3 Exam Answers CCNA Security v2.0 Chapter 3 Exam Answers 1. Because f implemented security cntrls, a user can nly access a server with FTP. Which AAA cmpnent accmplishes this? accunting accessibility auditing authrizatin

More information

Design Patterns. Collectional Patterns. Session objectives 11/06/2012. Introduction. Composite pattern. Iterator pattern

Design Patterns. Collectional Patterns. Session objectives 11/06/2012. Introduction. Composite pattern. Iterator pattern Design Patterns By Võ Văn Hải Faculty f Infrmatin Technlgies HUI Cllectinal Patterns Sessin bjectives Intrductin Cmpsite pattern Iteratr pattern 2 1 Intrductin Cllectinal patterns primarily: Deal with

More information

1. What is a characteristic of Frame Relay that provides more flexibility than a dedicated line?

1. What is a characteristic of Frame Relay that provides more flexibility than a dedicated line? CCNA 4 Chapter 4 v5.0 Exam Answers 2015 (100%) 1. What is a characteristic f Frame Relay that prvides mre flexibility than a dedicated line? Dedicated physical circuits are installed between each site.

More information

Java Database Connectivity

Java Database Connectivity Advanced Java Prgramming Curse Java Database Cnnectivity By Võ Văn Hải Faculty f Infrmatin Technlgies Industrial University f H Chi Minh City Sessin bjectives JDBC basic Wrking with JDBC Advanced JDBC

More information

LIN101 RS232 / LAN INTERFACE

LIN101 RS232 / LAN INTERFACE LIN101 24/02/2004 English 1 1. LIN101 LIN101 is a Serial Device Server, the main functin f the LIN101 is t netwrk-enable existing serial devices. Using the LIN101 yu can add an Ethernet prt practically

More information

Ephorus Integration Kit

Ephorus Integration Kit Ephrus Integratin Kit Authr: Rbin Hildebrand Versin: 2.0 Date: May 9, 2007 Histry Versin Authr Cmment v1.1 Remc Verhef Created. v1.2 Rbin Hildebrand Single Sign On (Remved v1.7). v1.3 Rbin Hildebrand Reprting

More information

Skype Meetings

Skype Meetings http://www.jeffersnstate.edu/resurces-fr-instructrs-de/ Skype Meetings Skype-t-Skype is used fr cmmunicatin thrugh vice, vide, chat (Instant Messaging) and/r desktp sharing fr ne-n-ne cnferences, meetings,

More information

CCNA 1 Chapter v5.1 Answers 100%

CCNA 1 Chapter v5.1 Answers 100% CCNA 1 Chapter 11 2016 v5.1 Answers 100% 1. A newly hired netwrk technician is given the task f rdering new hardware fr a small business with a large grwth frecast. Which primary factr shuld the technician

More information

Imagine for MSDNAA Student SetUp Instructions

Imagine for MSDNAA Student SetUp Instructions Imagine fr MSDNAA Student SetUp Instructins --2016-- September 2016 Genesee Cmmunity Cllege 2004. Micrsft and MSDN Academic Alliance are registered trademarks f Micrsft Crpratin. All rights reserved. ELMS

More information

Web Services SOAP. Lecture "XML in Communication Systems" Chapter 12

Web Services SOAP. Lecture XML in Communication Systems Chapter 12 Web Services SOAP Lecture "XML in Cmmunicatin Systems" Chapter 12 Prf. Dr.-Ing. Nrbert Luttenberger Research Grup fr Cmmunicatin Systems Dept. f Cmputer Science Christian-Albrechts-University in Kiel Recmmended

More information

Telkom VPN-Lite router setup User Manual Billion 800VGT

Telkom VPN-Lite router setup User Manual Billion 800VGT Telkm VPN-Lite ruter setup User Manual Billin 800VGT Cntents 1. Intrductin... 3 2. Befre yu start... 4 3. VPN-Lite Setup Using Windws Utility... 5 4. VPN-Lite Setup using yur web brwser... 7 5. VPN-Lite

More information

Tips For Customising Configuration Wizards

Tips For Customising Configuration Wizards Tips Fr Custmising Cnfiguratin Wizards ver 2010-06-22 Cntents Overview... 2 Requirements... 2 Applicatins... 2 WinSCP and Putty... 2 Adding A Service T An Existing Wizard... 3 Gal... 3 Backup Original

More information

Infrastructure Series

Infrastructure Series Infrastructure Series TechDc WebSphere Message Brker / IBM Integratin Bus Parallel Prcessing (Aggregatin) (Message Flw Develpment) February 2015 Authr(s): - IBM Message Brker - Develpment Parallel Prcessing

More information

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page Managing the News Page TABLE OF CONTENTS: The News Page Key Infrmatin Area fr Members... 2 Newsletter Articles... 3 Adding Newsletter as Individual Articles... 3 Adding a Newsletter Created Externally...

More information

Due Date: Lab report is due on Mar 6 (PRA 01) or Mar 7 (PRA 02)

Due Date: Lab report is due on Mar 6 (PRA 01) or Mar 7 (PRA 02) Lab 3 Packet Scheduling Due Date: Lab reprt is due n Mar 6 (PRA 01) r Mar 7 (PRA 02) Teams: This lab may be cmpleted in teams f 2 students (Teams f three r mre are nt permitted. All members receive the

More information

Communication across the ether

Communication across the ether Cmmunicatin acrss the ether Ethernet CS242 Cmputer Netwrks Department f Cmputer Science Wellesley Cllege Lcal Area Netwrks (LANs) Multiple access prtcls are used fr satellite and wireless channels. They

More information

Simple Object Access Protocol (SOAP)

Simple Object Access Protocol (SOAP) Simple Object Access Prtcl (SOAP) Languages fr web Prf. Eugeni Di Sciasci Master s Degree Curse in Cmputer Engineering - (A.Y. 2016/2017) Web service architecture (1/2) A ppular interpretatin f Web services

More information

To start your custom application development, perform the steps below.

To start your custom application development, perform the steps below. Get Started T start yur custm applicatin develpment, perfrm the steps belw. 1. Sign up fr the kitewrks develper package. Clud Develper Package Develper Package 2. Sign in t kitewrks. Once yu have yur instance

More information

Core Java and Advanced Java

Core Java and Advanced Java Cre Java and Advanced Java 1. Intrductin t Java prgramming The Java Virtual Machine Variables and data types Cnditinal and lping cnstructs Arrays 2. Object-riented prgramming with Java Classes and Objects

More information

SeaLinx Guide. Table of Contents

SeaLinx Guide. Table of Contents SeaLinx Guide Table f Cntents SeaLinx Overview... 2 Cre Cmpnent... 2 Physical Layer... 2 Mac Layer... 3 Netwrk Layer... 4 Transprt Layer... 5 Applicatin Layer... 6 Quick Start Guide... 6 Sftware Installatin

More information

App Orchestration 2.6

App Orchestration 2.6 App Orchestratin 2.6 Terminlgy in App Orchestratin 2.6 Last Updated: July 8, 2015 Page 1 Terminlgy Cntents Elements f App Orchestratin... 3 Dmains... 3 Multi-Datacenter Deplyments... 4 Delivery Sites...

More information

USER MANUAL. RoomWizard Administrative Console

USER MANUAL. RoomWizard Administrative Console USER MANUAL RmWizard Administrative Cnsle Cntents Welcme... 3 Administer yur RmWizards frm ne lcatin... 3 Abut This Manual... 4 Setup f the Administrative Cnsle... 4 Installatin... 4 The Cnsle Windw...

More information

Firmware Upgrade Wizard v A Technical Guide

Firmware Upgrade Wizard v A Technical Guide Firmware Upgrade Wizard v4.1.1 A Technical Guide Nvember 2015 Intrductin The Firmware Upgrade Wizard prvides the fllwing features: It supprts upgrading the firmware n designated devices, see Supprted devices.

More information

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as:

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as: Lcatin f the map.x.prperties files $ARCSIGHT_HOME/current/user/agent/map File naming cnventin The files are named in sequential rder such as: Sme examples: 1. map.1.prperties 2. map.2.prperties 3. map.3.prperties

More information

PAGE NAMING STRATEGIES

PAGE NAMING STRATEGIES PAGE NAMING STRATEGIES Naming Yur Pages in SiteCatalyst May 14, 2007 Versin 1.1 CHAPTER 1 1 Page Naming The pagename variable is used t identify each page that will be tracked n the web site. If the pagename

More information

FIREWALL RULE SET OPTIMIZATION

FIREWALL RULE SET OPTIMIZATION Authr Name: Mungle Mukupa Supervisr : Mr Barry Irwin Date : 25 th Octber 2010 Security and Netwrks Research Grup Department f Cmputer Science Rhdes University Intrductin Firewalls have been and cntinue

More information

Please contact technical support if you have questions about the directory that your organization uses for user management.

Please contact technical support if you have questions about the directory that your organization uses for user management. Overview ACTIVE DATA CALENDAR LDAP/AD IMPLEMENTATION GUIDE Active Data Calendar allws fr the use f single authenticatin fr users lgging int the administrative area f the applicatin thrugh LDAP/AD. LDAP

More information

AngularJS. Unit Testing AngularJS Directives with Karma & Jasmine

AngularJS. Unit Testing AngularJS Directives with Karma & Jasmine AngularJS Unit Testing AngularJS Directives with Karma & Jasmine Directives Directives are different frm ther cmpnents they aren t used as bjects in the JavaScript cde They are used in HTML templates f

More information

Developing Java Web Services. Duration: 5 days

Developing Java Web Services. Duration: 5 days QWERTYUIOP{ Develping Java Web Services Duratin: 5 days The Develping Java Web Services training class prepares Java prgrammers t develp interperable Java Web services and using SOAP, WSDL, and XML Schema.

More information

DOT NET SYLLABUS FOR 6 WEEKS

DOT NET SYLLABUS FOR 6 WEEKS www.escninfsystems.cm Cntact: +91-8090978001, 9450277921 E-mail: escninfsystems@gmail.cm DOT NET SYLLABUS FOR 6 WEEKS INTRODUCTION TO.NET Dmain f.net D.N.A. Architecture One Tier Tw Tier Three Tier N-Tier

More information

Using SPLAY Tree s for state-full packet classification

Using SPLAY Tree s for state-full packet classification Curse Prject Using SPLAY Tree s fr state-full packet classificatin 1- What is a Splay Tree? These ntes discuss the splay tree, a frm f self-adjusting search tree in which the amrtized time fr an access,

More information

Outlook Web Application (OWA) Basic Training

Outlook Web Application (OWA) Basic Training Outlk Web Applicatin (OWA) Basic Training Requirements t use OWA Full Versin: Yu must use at least versin 7 f Internet Explrer, Safari n Mac, and Firefx 3.X. (Ggle Chrme r Internet Explrer versin 6, yu

More information

Adobe Connect 8 Event Organizer Guide

Adobe Connect 8 Event Organizer Guide Adbe Cnnect 8 Event Organizer Guide Questins fr Meeting HOST t ask at rganizatin meeting: Date (r dates) f event including time. Presenting t where Lcal ffice cubicles, reginal r glbal ffices, external

More information

Secure File Transfer Protocol (SFTP) Interface for Data Intake User Guide

Secure File Transfer Protocol (SFTP) Interface for Data Intake User Guide Secure File Transfer Prtcl (SFTP) Interface fr Data Intake User Guide Cntents Descriptin... 2 Steps fr firms new t batch submissin... 2 Acquiring necessary FINRA accunts... 2 SFTP Access t FINRA... 2 SFTP

More information

Chapter 6 Delivery and Routing of IP Packets. PDF created with FinePrint pdffactory Pro trial version

Chapter 6 Delivery and Routing of IP Packets. PDF created with FinePrint pdffactory Pro trial version Chapter 6 Delivery and Ruting f IP Packets PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm Outline Cnnectin Delivery Ruting methds Static and dynamic ruting Ruting table and mdule

More information

Relius Documents ASP Checklist Entry

Relius Documents ASP Checklist Entry Relius Dcuments ASP Checklist Entry Overview Checklist Entry is the main data entry interface fr the Relius Dcuments ASP system. The data that is cllected within this prgram is used primarily t build dcuments,

More information

Model WM100. Product Manual

Model WM100. Product Manual Mdel WM100 Prduct Manual Table f Cntents Sectin Page 1. Hardware... 3 2. Sftware... 4 3. Features... 5 4. Installatin... 6 5. App Devices... 9 6. App Rms... 12 7. App Scenes... 14 8. App Setup... 18 Cntents

More information

VMware AirWatch Certificate Authentication for Cisco IPSec VPN

VMware AirWatch Certificate Authentication for Cisco IPSec VPN VMware AirWatch Certificate Authenticatin fr Cisc IPSec VPN Fr VMware AirWatch Have dcumentatin feedback? Submit a Dcumentatin Feedback supprt ticket using the Supprt Wizard n supprt.air-watch.cm. This

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Querying Data with Transact SQL Curse Cde: 20761 Certificatin Exam: 70-761 Duratin: 5 Days Certificatin Track: MCSA: SQL 2016 Database Develpment Frmat: Classrm Level: 200 Abut this curse: This curse is

More information

PAY EQUITY HEARINGS TRIBUNAL. Filing Guide. A Guide to Preparing and Filing Forms and Submissions with the Pay Equity Hearings Tribunal

PAY EQUITY HEARINGS TRIBUNAL. Filing Guide. A Guide to Preparing and Filing Forms and Submissions with the Pay Equity Hearings Tribunal PAY EQUITY HEARINGS TRIBUNAL Filing Guide A Guide t Preparing and Filing Frms and Submissins with the Pay Equity Hearings Tribunal This Filing Guide prvides general infrmatin nly and shuld nt be taken

More information

Troubleshooting Citrix- Published Resources Configuration in VMware Identity Manager

Troubleshooting Citrix- Published Resources Configuration in VMware Identity Manager Trubleshting Citrix- Published Resurces Cnfiguratin in VMware Identity Manager VMware Identity Manager A U G U S T 2 0 1 7 V1 Table f Cntents Overview... 1 Supprted Versins f Cmpnents... 1 Prerequisites...

More information

2. Which command can be used to view the cable type that is attached to a serial interface?

2. Which command can be used to view the cable type that is attached to a serial interface? CCNA 4 Chapter 3 v5.0 Exam Answers 2015 (100%) 1. At which layer f the OSI mdel des multiplexing take place? Layer 1 Layer 2 Layer 3 Layer 4 2. Which cmmand can be used t view the cable type that is attached

More information

ip.buffer App Note AN009 : Security Considerations

ip.buffer App Note AN009 : Security Considerations ip.buffer App Nte AN009 : Security Cnsideratins Date Authr Release 2008-12-18 MP Initial draft UK 2008 Scannex Electrnics Limited. All rights reserved wrldwide. Scannex Electrnics Ltd, UK t: +44(0)8707

More information

HP MPS Service. HP MPS Printer Identification Stickers

HP MPS Service. HP MPS Printer Identification Stickers HP MPS Service We welcme yu t HP Managed Print Services (MPS). Fllwing yu will find infrmatin regarding: HP MPS printer identificatin stickers Requesting service and supplies fr devices n cntract Tner

More information

Moving packets. Moving datagrams. Suppose host A want to send IP to host B. Host A wants to send to host E. Generalized forwarding and SDN

Moving packets. Moving datagrams. Suppose host A want to send IP to host B. Host A wants to send to host E. Generalized forwarding and SDN Mving packets Generalized frwarding and SDN Mving datagrams 1. Surce hst fills in its address... 3. Data field is filled with paylad. CS242 Cmputer Netwrks 2.... and addresses destinatin address. Department

More information

Dynamic Storage (ECS)

Dynamic Storage (ECS) User Guide Dynamic Strage (ECS) Swisscm (Schweiz) AG 1 / 10 Cntent 1 Abut Dynamic Strage... 3 2 Virtual drive, the EMC CIFS-ECS Tl... 4 3 Amazn S3 Brwer... 6 4 Strage Gateway Appliance... 9 5 Amazn S3

More information

Max 8/16 and T1/E1 Gateway, Version FAQs

Max 8/16 and T1/E1 Gateway, Version FAQs Frequently Asked Questins Max 8/16 and T1/E1 Gateway, Versin 1.5.10 FAQs The FAQs have been categrized int the fllwing tpics: Calling Calling Cmpatibility Cnfiguratin Faxing Functinality Glssary Q. When

More information

Cisco Tetration Analytics, Release , Release Notes

Cisco Tetration Analytics, Release , Release Notes Cisc Tetratin Analytics, Release 1.102.21, Release Ntes This dcument describes the features, caveats, and limitatins fr the Cisc Tetratin Analytics sftware. Additinal prduct Release ntes are smetimes updated

More information

Enabling Your Personal Web Page on the SacLink

Enabling Your Personal Web Page on the SacLink 53 Enabling Yur Persnal Web Page n the SacLink *Yu need t enable yur persnal web page nly ONCE. It will be available t yu until yu graduate frm CSUS. T enable yur Persnal Web Page, fllw the steps given

More information

Center School District. SMART Board Quick Reference

Center School District. SMART Board Quick Reference SMART Bard Quick Reference A few things t keep in mind... If yu can t find the remte, turn n the SMART Bard by pushing the stand by buttn n the prjectr. T pwer ff, push pwer buttn twice either n the remte

More information

INSERTING MEDIA AND OBJECTS

INSERTING MEDIA AND OBJECTS INSERTING MEDIA AND OBJECTS This sectin describes hw t insert media and bjects using the RS Stre Website Editr. Basic Insert features gruped n the tlbar. LINKS The Link feature f the Editr is a pwerful

More information

Telkom VPN-Lite router setup User Manual Billion 810VGTX

Telkom VPN-Lite router setup User Manual Billion 810VGTX Telkm VPN-Lite ruter setup User Manual Billin 810VGTX Cntents Intrductin... 3 Befre yu start... 4 VPN-Lite Setup Using Windws Utility... 5 VPN-Lite Setup using yur web brwser... 7 VPN-Lite Manual Setup

More information

UML : MODELS, VIEWS, AND DIAGRAMS

UML : MODELS, VIEWS, AND DIAGRAMS UML : MODELS, VIEWS, AND DIAGRAMS Purpse and Target Grup f a Mdel In real life we ften bserve that the results f cumbersme, tedius, and expensive mdeling simply disappear in a stack f paper n smene's desk.

More information

Paraben s Phone Recovery Stick

Paraben s Phone Recovery Stick Paraben s Phne Recvery Stick v. 3.0 User manual Cntents Abut Phne Recvery Stick... 3 What s new!... 3 System Requirements... 3 Applicatin User Interface... 4 Understanding the User Interface... 4 Main

More information

Table of Contents. 1 Introduction Connecting to the API HTTP request syntax API release versions... 4

Table of Contents. 1 Introduction Connecting to the API HTTP request syntax API release versions... 4 API Guide Table f Cntents 1 Intrductin... 3 2 Cnnecting t the API... 4 2.1 HTTP request syntax... 4 2.2 API release versins... 4 3 Direct Answer API... 5 3.1 Required parameters... 5 3.2 Optinal parameters...

More information

Enterprise Installation

Enterprise Installation Enterprise Installatin Mnnit Crpratin Versin 3.6.0.0 Cntents Prerequisites... 3 Web Server... 3 SQL Server... 3 Installatin... 4 Activatin Key... 4 Dwnlad... 4 Cnfiguratin Wizard... 4 Activatin... 4 Create

More information

The Internet protocol

The Internet protocol The Internet prtcl Party time! IPv4 datagram frmat IPv4 2 bytes n ptins delue r ecnmy? header + data mre later CS242 Cmputer Netwrks Department f Cmputer Science Wellesley Cllege decremented by each ruter;

More information

Operating systems. Module 15 kernel I/O subsystem. Tami Sorgente 1

Operating systems. Module 15 kernel I/O subsystem. Tami Sorgente 1 Operating systems Mdule 15 kernel I/O subsystem Tami Srgente 1 SWAP SPACE MANAGEMENT Swap space can be defined as a temprary strage lcatin that is used when system s memry requirements exceed the size

More information

ONTARIO LABOUR RELATIONS BOARD. Filing Guide. A Guide to Preparing and Filing Forms and Submissions with the Ontario Labour Relations Board

ONTARIO LABOUR RELATIONS BOARD. Filing Guide. A Guide to Preparing and Filing Forms and Submissions with the Ontario Labour Relations Board ONTARIO LABOUR RELATIONS BOARD Filing Guide A Guide t Preparing and Filing Frms and Submissins with the Ontari Labur Relatins Bard This Filing Guide prvides general infrmatin nly and shuld nt be taken

More information

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash UiPath Autmatin Walkthrugh Walkthrugh Calculate Client Security Hash Walkthrugh Calculate Client Security Hash Start with the REFramewrk template. We start ff with a simple implementatin t demnstrate the

More information