Find Jobs
Hire Freelancers

Programming Assignment

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
need it in 3 hours properly commented Submission: In this assignment, using sockets and PThreads, you implement a server that calculates the factorial of numbers (n!). When the connection is established between the client and the server, the server sends a “READY” message to the client using the already established connection. The client then sends the number for which it would like to compute the factorial. The server calculates the factorial and returns it to the client. In order to be able to count the number of clients already served, a specific PThread receives signals from all PThreads who serve clients. Those PThreads send a signal when they send the request back to the client before they terminate. When the counter PTreads receives a signal from another PThread, it increments a counter then prints it. When the number of served clients reaches a certain number (10 for example), the server terminates all threads while printing the number of served clients and for how much time it has been running. Guidelines: Please observe the following guidelines while writing your programs: • All errors should be written to the error stream • Use appropriate names of variables • Make good and appropriate use of functions • Use appropriate names of functions • Provide enough comments to understand your code • Use appropriate indentations
Project ID: 6880242

About the project

2 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi I am Dinh. I can do it in 3 hour. Hope to work with you. ><><><><><><><><><><><><><><><><><><><><>
$25 USD in 1 day
5.0 (38 reviews)
5.1
5.1
2 freelancers are bidding on average $25 USD for this job
User Avatar
Dear Sir/Madam, We take projects on following. We have a dedicated team of 7 developers on below technologies Programming Languages: C, C++, C#, MATLAB, Java, php Databases: SQL Server 2005/2008 R2, MySQL, Oracle 10g Web Services: Web Services, WCF Web Server Technology: HTML5, CSS3, JavaScript, ASP.NET IDE: Visual Studio 2008/2010/2012/2013, Android Studio, phpStorm, MPLABX, KEIL, MATLAB Design Pattern: MVP, MVC, MVVM, Observer Pattern UI: WPF, WinForms Markup Language: XML Logging: log4Net 1.2.13 Projects Handled: Capture Anything Technology Used: Visual Studio 2013, Microsoft Expression Encoder 4 SDK, NGif - Animated GIF Encoder for .NET. Thanking you & looking forward for your valuable order & assure you of our best services at all times Capture Anything Android Application Technology Used: Android Studio 0.4.6 and PHP Regards APlus Intellisoft Solutions Pvt. Ltd
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED ARAB EMIRATES
Dubai, United Arab Emirates
4.9
42
Member since May 19, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.