TFTPserver - ###1# #&# #v# #v### ### #v### ###...

Info iconThis preview shows pages 1–37. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ###1# #&# #v# #v### ### #v### ### #v### # # #### ## #v# ##### #### ## #### ### ### ##### ###### #### ####### ### ####### ### ###### ## #v#### ##############&## #### ### #v########### #2# #1######## ####### ### #### ############ ##!##" #1#######$ ###%####'##( ###) #v#*##+ #####, ###- #v#. #/#0##1##2 #v#3##4##5##6##7##8##9##:##;##<##=##> #]# #\#?##@##A##B##C #v#D##E ##F ##G #\#H##I##J##K #\####L #v#M #v#N##O #/#P ###Q##R##S##T #v###U##V #x#W #&#X##Y##Z #v#[##\##] #&#^##_## sendPacket###Ljava/net/DatagramPacket;##receivePacket## tempPacket###emPacket## ACKPacket## recveData## commonSocket###Ljava/net/DatagramSocket;###sendReceiveSocket## terminate###Z## ErrorData###[B###emptyPacket###error###LError;###counter###I###<init>###()V###Code# ##LineNumberTable###LocalVariableTable###se###Ljava/net/SocketException;###this## LTFTPserver;###validateRequest###()Z###e###Ljava/io/IOException;###request###receiv ed###Ljava/lang/String;###opcode###run###message###ex###Ljava/lang/Exception;###Lja va/io/FileNotFoundException;## dataBlock###packet###nextPart###errorMsg###err###errorOpcode## errorCode## dataPacket###fromFile###oldBlock###opCode###ackBlock## ackOpcode###read###size###values###temp###getInfo## ackpacket## ACKpacket###readData###Ljava/io/BufferedInputStream;## writeData###Ljava/ io/BufferedOutputStream;###filesize###filename## receiveACK## receiveACKNo## packetInfo###getData###endFile###count###getFile###finished###doneRea###delay## setTerminate## ackwasgood###(Ljava/lang/String;I[B)Z###aINT###bINT###de###blocknum###ackrecep###j# ##k###main###([Ljava/lang/String;)V###clients###Ljava/lang/Thread;###args###[Ljava/ lang/String;###server###s###<clinit>## SourceFile###TFTPserver.java #&#& #&#& #&#&###Error #&#&###java/net/DatagramSocket #&#` #&#&###java/net/SocketException #a###b #c#`###java/net/DatagramPacket #&#d #&#& #e#f###java/io/IOException #g#h###Validation failed##i #j#k ##l###java/lang/String #&#m #n#o #&#k###java/lang/StringBuilder###received packet containing : #p#q #r#s###from host: #t#u #p#v###host port: #w#x #p#y###Length: #z#x #&#&###01 #{#|###02###Request is valid.###Request is invalid. #}#~ #####java/io/BufferedInputStream###java/io/FileInputStream###c:\temp\ #####java/io/FileNotFoundException##AThe requested file does not exist at this directory at the server #&#&###Error 1 with message: #&#&...
View Full Document

This note was uploaded on 09/26/2009 for the course SCE Sysc3303 taught by Professor Marshall during the Summer '09 term at Carleton CA.

Page1 / 84

TFTPserver - ###1# #&# #v# #v### ### #v### ###...

This preview shows document pages 1 - 37. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online