Skip to content

習題 6 -- 請寫一組伺服器監控 monitor 程式,包含 server 與 client  #7

@ccckmit

Description

@ccckmit

要求

  1. server 先執行
    • server 可以繼續接受指令,有一個類似 shell 的東西
  2. client 連進去 (可能不只一個 client)
  3. 所有 client 都可以看到 server 上的所有指令操作與顯示結果

提示:

  1. 應該要用 thread 會比較恰當,用 fork 不太適合

參考

  1. telnet1
  2. georgeMary.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions