2016년 1월 30일 토요일

Echo Client & Server based on Multiplexing








  • Server based on MultiProcessing is inefficient because it ganerate process whenever clients request connect.
  • Thus, Server provide Two or more client with service using Multiplexsing.
       Use 'select()' function.
     
       As using Multiplexsing,
       One server can receive messages which Clients sended.
       Also, It is efficient about resource because one process processes clients's connect request.
  • Caution 
       MultiProcessing unconditionally isn't inefficient. It depends on the situation.

OS : Windows

Source Download

◈ references
   picture - http://fingerdev.tistory.com/24

댓글 없음:

댓글 쓰기