Write small program in c. Needed in the next few hours.

Stängt Publicerat 3 år sedan Betalades vid leverans
Stängt Betalades vid leverans

Write two programs: server.c and client.c

client.c can send two kinds of signals: SIGINT and SIGUSR1

Within the server, the handler of SIGINT counts the number of SIGINT signals which were received.

The handler of SIGUSR1 prints the number of SIGINT signals which arrived to the server.

The client gets 3 parameters in the following order:

pid of the server

number of signal SIGUSR1 (10) - or SIGINT (2)

# of signals sent

Examples:

1. client <server pid> 2 1000

2. client <server pid> 10 1

In the first example, client will send 1000 SIGINT signals, to the server with <server pid>

In the second example, the server with <server pid> will print the number of SIGINT received.

C++-programmering C-programmering C#-programmering Programvaruarkitektur Algoritm

Projekt-id: #26922664

About the project

9 offerter Distansprojekt Aktivt 3 år sedan

9 frilansare har lagt bud på i genomsnitt $21 för det här jobbet

sodiqa32

Hello, I am pleasure with your job as detailed. Thank you for the job posting. It’s a pleasure to meet you. I’d really like to work with you on this one if possible! I do have a couple of questions, but first I’d like Mer

$10 USD inom 1 dag
(50 omdömen)
6.3
ikrom92

Hi. I know how to do it. Do you need it for Linux? ............................................................................

$30 USD inom 7 dagar
(2 omdömen)
3.0
salehinfaijus360

Hello Sir, I will summarize all the lectures and provide you with clear, concise notes.I am a PhD writer with 5 years of experience. I have worked on several similar projects compiling presentation slides and lecture Mer

$20 USD inom 1 dag
(3 omdömen)
1.8
alakdae

I can make the programs for you as described utilizing signals to communicate. Can start immediately.

$15 USD inom 1 dag
(1 omdöme)
1.5
emlnxsolutions

please discuss, will complete within 2 hours....................................................................................................

$25 USD inom 1 dag
(0 omdömen)
1.2
itsjustroy

20+ Years of experience with C Also, it's done and ready for you already. :) Commented code with instructions on how to build. Developed on Ubuntu under WSL so you can build it on linux or windows (if you have WSL in Mer

$25 USD inom 1 dag
(0 omdömen)
0.0
bros80

Hi. I can do your project, in fact I already have it ready. I have been a C programmer for more than a decade and I would like you to hire me. I wait your answer. Regards

$25 USD inom 1 dag
(0 omdömen)
0.0
ckelsel

it's done and ready for you already If you choose me, you will get the code right now. Hi, sir. Thank you for sharing your project and I will be very happy to help you with your business. Best,

$10 USD inom 1 dag
(0 omdömen)
0.0