Find Jobs
Hire Freelancers

Programming Assignment

$10-30 USD

已完成
已发布超过 9 年前

$10-30 USD

货到付款
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
项目 ID: 6880242

关于此项目

2提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi I am Dinh. I can do it in 3 hour. Hope to work with you. ><><><><><><><><><><><><><><><><><><><><>
$25 USD 在1天之内
5.0 (38条评论)
5.1
5.1
2威客以平均价$25 USD来参与此工作竞价
用户头像
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 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED ARAB EMIRATES的国旗
Dubai, United Arab Emirates
4.9
42
会员自5月 19, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。