![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C Programming - Hardware Programming | nandumishra | High Level Programming | 3 | 08-24-2009 04:11 AM |
| Carreer:Networking Programming in Unix (C programming Language) | vibhory2j | UNIX for Dummies Questions & Answers | 5 | 09-05-2008 07:57 PM |
| New To Programming | xkayla06 | Shell Programming and Scripting | 7 | 06-04-2008 08:40 AM |
| Unix Systems Programming Vs Unix Programming | BCarlson | Shell Programming and Scripting | 0 | 05-24-2006 02:34 PM |
| c programming or unix programming!? | moxxx68 | High Level Programming | 1 | 03-30-2004 08:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
here is the detailed description: Can any one give me the code or guide.
Create a networking application using the socket interface to implement a "computing engine" service over TCP. following describes the application, session, and presentation layers. C language program that reads a list of numbers, integer or floating point, separated with newlines, from the client side, and outputs the average of these numbers. Lines that begin with the character | are called substitutions; substitutions should be executed and your program should use the elapsed running time (in seconds) for its calculation. The server reads all lines, and return the average value of all of these values (include the elapsed running time of some execution) Here is an example output: Code:
$ average mercury 2345
23
543.2
-32.1
|/bin/sleep 2
-13
32.43
--
Last edited by pludi; 10-07-2009 at 02:20 AM.. Reason: code tags, please... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|