Skip to content

coding-Benny/network-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

69 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

network-programming

C์™€ Java๋กœ ์ˆ˜ํ–‰ํ•œ ๋„คํŠธ์›Œํฌ ์†Œ์ผ“ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ฒฐ๊ณผ๋ฌผ์ž…๋‹ˆ๋‹ค.

NetP04

  • ๋กœ๊ทธ์ธ ํ”„๋กœํ† ์ฝœ ๊ตฌํ˜„
  • ๋ฉ”๋‰ด
    1. ์†Œ๋ฌธ์ž โ†’ ๋Œ€๋ฌธ์ž
    2. ๋Œ€๋ฌธ์ž โ†’ ์†Œ๋ฌธ์ž
    3. ์†Œ๋ฌธ์ž๋Š” ๋Œ€๋ฌธ์ž๋กœ, ๋Œ€๋ฌธ์ž๋Š” ์†Œ๋ฌธ์ž๋กœ
    4. ์ข…๋ฃŒ
์‹คํ–‰ ๊ฒฐ๊ณผ

NetP05

  • Windows โ†” Windows/Linux ์–‘๋ฐฉํ–ฅ ํŒŒ์ผ ์ „์†ก
  • ๋ช…๋ น์–ด ์ข…๋ฅ˜
    • get, put, quit, dir, ldir, !cmd
์‹คํ–‰ ๊ฒฐ๊ณผ
  • put
  • get
  • dir
  • ldir
  • !ipconfig

NetP06

  • /to, /sleep, /wakeup : ๊ตฌํ˜„ํ–ˆ๋Š”๋ฐ ๊ณผ์ œ ๋ณ€๊ฒฝ์œผ๋กœ ๋น ์ ธ๋ฒ„๋ ธ๋‹ค..๐Ÿ˜ญ
  • 1:1 ์ฑ„ํŒ…
  • ํŒŒ์ผ ์ „์†ก
์‹คํ–‰ ๊ฒฐ๊ณผ
  • ์ž…/ํ‡ด์žฅ ์•Œ๋ฆผ
  • ๊ท“์†๋ง
  • sleep/wakeup
  • 1:1 ์ฑ„ํŒ…
  • ํŒŒ์ผ ์ „์†ก

NetP07

  • C๋กœ ๊ตฌํ˜„ํ–ˆ๋˜ NetP06์—์„œ์˜ ๊ธฐ๋Šฅ(์ž…ํ‡ด์žฅ ์•Œ๋ฆผ, /exit, /list, /to, /sleep, /wakeup)๋“ค์„ Java๋กœ ๊ตฌํ˜„ํ•˜๊ธฐ
์‹คํ–‰ ๊ฒฐ๊ณผ
  • ์„œ๋ฒ„
  • ํด๋ผ์ด์–ธํŠธ

NetP-midterm

  • ๋ ˆ์Šคํ† ๋ž‘ POS Client/Server ํ”„๋กœ๊ทธ๋žจ
  • Client๋Š” ์ฃผ๋ฌธ ๋ชจ๋“œ(๋ฉ”๋‰ด์™€ ์ˆ˜๋Ÿ‰ ์ •๋ณด)์™€ ์ฃผ๋ฐฉ ๋ชจ๋“œ(์™„๋ฃŒ๋œ ๋ฉ”๋‰ด์™€ ์ˆ˜๋Ÿ‰ ์ •๋ณด)๋กœ ๋™์ž‘
  • Server๋Š” ์ฃผ๋ฌธ ํ˜„ํ™ฉ์„ ์ถœ๋ ฅํ•˜๊ณ  Client์— ์ „์†ก
์‹คํ–‰ ๊ฒฐ๊ณผ

NetP09

  • ๋„์ „ ๊ณผ์ œ
    • ๋ณธ์ธ Message๋Š” ์นดํ†ก์ฒ˜๋Ÿผ ์šฐ์ธก์— ๋‚˜์˜ค๊ธฐ
    • ์‚ฌ์šฉ์ž List ํ™”๋ฉด ์ถ”๊ฐ€ํ•˜๊ธฐ
    • /sleep, /wakeup ๋Œ€์‹  GUI ๋ฒ„ํŠผ ์‚ฌ์šฉํ•˜๊ธฐ(JComboBox, JCheckBox ๋“ฑ)
    • ์ด๋ชจํ‹ฐ์ฝ˜ ์ถ”๊ฐ€ํ•˜๊ธฐ
์‹คํ–‰ ๊ฒฐ๊ณผ

NetP10

  • ๊ทธ๋ฆผํŒ ๊ณต์œ 
  • ๊ธฐ๋Šฅ ์ถ”๊ฐ€
    • Dot ๋Œ€์‹  Line ๊ทธ๋ฆฌ๊ธฐ
    • Color ์„ ํƒํ•˜๊ธฐ
    • ์ง€์šฐ๊ฐœ ๊ธฐ๋Šฅ
์‹คํ–‰ ๊ฒฐ๊ณผ
  • ๊ทธ๋ฆผํŒ ๊ณต์œ 
  • ๊ธฐ๋Šฅ ์ถ”๊ฐ€