1 / 15

Network – P2P

Network – P2P. 20 th 1 조 유수희 김선일 강석우 김준 환. 3. 3. 3. Language. 5. 1. 3. System Architecture. 2. Message Protocol. DEMO / Q & A. Partition transmission. 4. Contents. Language. Server – C#. Client3 - MFC. Client1 - JAVA. Client2 – C#. Server Architecture. 접속한 클라이언트.

ohio
Télécharger la présentation

Network – P2P

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network – P2P 20th 1조유수희 김선일 강석우 김준환

  2. 3 3 3 Language 5 1 3 System Architecture 2 Message Protocol DEMO / Q & A Partition transmission 4 Contents

  3. Language Server – C# Client3 - MFC Client1 - JAVA Client2 – C#

  4. Server Architecture 접속한 클라이언트 210.103.54.22 210.111.25.60 211.142.63.51 211.113.45.22 Server 211.113.45.22 211.113.45.22 211.113.45.22 211.113.45.22 211.113.45.22 Member Table

  5. Client Architecture 파일전송 파일검색 Client Search Client SSM.AVI 파일저장 파일검색 접속한 클라이언트 목록 전송 서버 접속 File Down Find File Down directory Share directory Search Server Server

  6. System Architecture Client Client Client Client Connection File Search& Download Server

  7. C# Client Class FileStream TCPListener BinaryReader FileInfo Thread NetworkStream TCPClient StreamReader Socket DateTime StreamWriter IPHostEntry

  8. JAVA & MFC Client Class FileOuputStream FileInputStream File ServerSocket BufferedReader Thread InetAddress PrintWriter OutputStream InputStream

  9. Message Protocol Client -> Server Server-> Client • CONN#myIP • - 서버에 접속. • - 지금까지 접속한 클라이언트들의 • IP를 요청함. • REF# • - 서버 접속 후에 서버에 접속한 • 클라이언트들의 IP를 요청함 • FILE# myIP#filename • - 서버에 접속한 상대방 클라이언트 • 에게 파일검색을 요청함. • FILEDOWN# • - 검색된 파일을 이용해 파일을 분할 • 해 전송하라고 요청함. • CONNOK#ClientsIP • - 서버에 접속. • - 지금까지 접속한 클라이언트들의 • IP 목록을 보냄 • REF#ClientIP • - 서버에 새로 접속한 클라이언트의 • IP를 현재 접속중인 클라이언트에 • 게 보냄. • FILE#ServerIP#fileInfo • - 검색된 파일의 정보를 클라이언트 • 에게 보냄. • FILEDOWN#fileInfo • - 분할된 파일의 정보를 보냄. Client Server

  10. Partition transmission 1_SSM.AVI 2_SSM.AVI Client count SSM.AVI 3_SSM.AVI 4_SSM.AVI

  11. DEMO Server C#

  12. DEMO Client C#

  13. DEMO Client JAVA

  14. DEMO Client MFC

  15. Q&A

More Related