a socket programming problem

L

luke.yolanda

Hi everybody,

Here is a problem about socket programming, please help me to solve it.
thanx!!

************************************************************

Implement a server-side program that will accept client request,
compute the median of a
set of integers, and return the results in response. Implement a
client-side program to test the server.

Requirements:
1. The server should be able to accept multiple clients at the same
time.
2. The server should check the correctness of input.
3. The system should be able to handle different byte-order (big endian
vs little endian) and word length (32-bit vs 64-bit). That is, you
server-side program must be able to work with clients from different
platforms.
4. Server and client communicate using BSD sockets.
5. DO NOT use any libraries having similar functionalities, e.g.,
gsoap.

************************************************************
 
I

Ian Collins

Hi everybody,

Here is a problem about socket programming, please help me to solve it.
thanx!!

************************************************************

Implement a server-side program that will accept client request,
compute the median of a
set of integers, and return the results in response. Implement a
client-side program to test the server.

Requirements:
1. The server should be able to accept multiple clients at the same
time.
2. The server should check the correctness of input.
3. The system should be able to handle different byte-order (big endian
vs little endian) and word length (32-bit vs 64-bit). That is, you
server-side program must be able to work with clients from different
platforms.
4. Server and client communicate using BSD sockets.
5. DO NOT use any libraries having similar functionalities, e.g.,
gsoap.

************************************************************
No one one does homework here. Nor do they do homework on a group where
socket programming is topical.
 
M

Mark McIntyre

Hi everybody,

Here is a problem about socket programming, please help me to solve it.
thanx!!

This is actuallly two problems, neither of them topical here:
1) how to design some software
2) how to use sockets.

The latter is best asked in comp.unix.programming. The former in
comp.programming.

Also it looks very much like a homework problem. I strongly recommend
you have a go by yourself, then post when you need help with specific
issues.
************************************************************

Implement a server-side program that will accept client request,
compute the median of a
set of integers, and return the results in response. Implement a
client-side program to test the server.

Requirements:
1. The server should be able to accept multiple clients at the same
time.
2. The server should check the correctness of input.
3. The system should be able to handle different byte-order (big endian
vs little endian) and word length (32-bit vs 64-bit). That is, you
server-side program must be able to work with clients from different
platforms.
4. Server and client communicate using BSD sockets.
5. DO NOT use any libraries having similar functionalities, e.g.,
gsoap.

************************************************************
Mark McIntyre
 
K

Keith Thompson

Here is a problem about socket programming, please help me to solve it.
thanx!!
[problem description snipped]

Give us your instructor's e-mail address so we can submit our
solutions directly.

Or do some work yourself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,500
Latest member
ArianneJsb

Latest Threads

Top