8000 GitHub - HinataKikuchi/minitalk: 42 subject
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

HinataKikuchi/minitalk

Repository files navigation

minitalk

42 subject

First Circle

what should we do?

Make contacting service between server and client by SIGUSR1 and SIGUSR2.

status

🎉DONE!!!🥳🎉

hkikuchi's 42Project Score

HOW TO MOVE IT?(ENGLISH)

使用方法の説明はこちら

※Caution : We need to use two terminals.

  1. Git clone this repository to your rocal environment. (If you already git user and could reach here, then you know this command.)
git clone git@github.com:HinataKikuchi/minitalk.git
  1. JUST DO MAKE
$ cd ./minitalk
$ make
  1. Run minitalk/server, then you'll find server pid.
$ ./server

Like this

(example)

SERVER PID_(:3 <)_ : <Process ID>
  1. Open another terminal and type command bellow.
$ ./client <Process ID> "MESSAGE"
  1. Back to your another terminal where running ./server. You'll find the MESSAGE was recieved.

  2. FIN.

どうやって動かすか?

※注意 : この課題では2つのターミナルを使います。

  1. このレポジトリをクローンしてください。
git clone git@github.com:HinataKikuchi/minitalk.git
  1. メイクしてもろて
$ cd ./minitalk
$ make
  1. ./serverを実行すると鯖のpid(プロセスID)が表示されます
$ ./server

こんな感じ

(example)

SERVER PID_(:3 <)_ : <Process ID>
  1. もう一つターミナルを開いて以下のコマンドを実行します。
$ ./client <Process ID> "MESSAGE"

<Process ID> : ./serverで確認した値

"MESSAGE" : serverに送信したいメッセージ

  1. ./serverを動かしたもう一つのターミナルへ移動します。メッセージが届いているのが確認できるはずです。

  2. おーわり!

About

42 subject

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0