Em Andamento

Write a UNIX/TCP-Socket program

Write a UNIX/TCP-Socket programs with the following descriptions:

NAME

tserver – theater server

tclient - theater client to get service from tserver

SYNOPSIS

tserever <port>

tclient <host> <port> [a]

DESCRIPTION

· tclient:

Connects to the tserver at (<host> <port>):

If there is an a flag the client behaves as an Actor.

ü Connects to <host > at <port>.

ü Sends its user login.

ü Reads from stdin and sends it to the server.

ü Receives from the tserver and displays it to the stdout.

ü Exits when the user types CTRL-D.

If there is no a flag the client behaves as an Audience.

ü Connects to <host> at <port> + 1.

ü Sends its user login.

ü Receives from the tserver and displays it to the stdout.

ü Exits when the user types CTRL-C.

· tserver:

· Creates two server sockets at <port> & <port>+1

· When a client connects to <port>:

ü Accepts the client and saves its information ( host, port, login ) in an Actors list.

ü Forks an Actor Handling Process:

§ Reads received data from its client

§ Sends the received data to it all clients, both Actors & Audience.

· When a client connects to <port>+1 :

ü Accepts the client and saves its information in an Audience list.

· When a user types CTRL-C it displays the contents of both Actors & Audience lists.

· When a user types CTRL-\ it exits after sending “Show is Over” to all clients.

Habilidades: Programação C, Programação C++ , PHP, Shell Script, Arquitetura de software

Ver mais: unix service, socket login, write a, unix, tcp, tcp client, port, php server client socket, client socket server, theater actor, actor name, client tcp, php tcp client, stdout, tcp program, name actors, software description write, program tcp, socket program, tcp programs, socket client php, program unix, actors name, tcp php, server php tcp

Acerca do Empregador:
( 27 comentários ) los angles, United States

ID do Projeto: #6790215

Premiar a:

ganykang

i am a postgraduate student i a chinese top university, i am good at c programing and unix as well, i have finished many TCP project in freelancer.

$45 USD em 1 dia
(8 Avaliações)
3.4

18 freelancers estão ofertando em média $94 para este trabalho

kaloyan13

Hello, I have experience with server/client programs. Can do your task for a day. I can start working on it after 12h Thanks..............

$60 USD em 1 dia
(147 Comentários)
6.0
hbxfnzwpf

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used Mais

$83 USD em 1 dia
(60 Comentários)
6.0
repairman4

Hi, Questions: 1) The server will need to be threaded. This should be ok. unless you say otherwise 2) Can this be written in C ? 3) When does it have to be done. Date and time with Timezone. Given tomorr Mais

$50 USD in 3 dias
(24 Comentários)
5.1
argento

Hi. We are a group of experienced engineers with different backgrounds (telecommunications, electronics and systems) with experience in technologies like C/C++/C#/Java/Linux/Scripting, who work for a telecommunications Mais

$150 USD in 5 dias
(22 Comentários)
4.8
Shopify

I have been coding and developing websites for the past couple years, and gained substantial knowledge and experiences in PHP. I have completed many projects, some of which can be found in my portfolio. I have the abil Mais

$263 USD in 8 dias
(5 Comentários)
4.7
shkerin

A proposal has not yet been provided

$61 USD in 2 dias
(7 Comentários)
3.4
Anurag7

Hi, I have 10+ year experience. I perfectly understand your requirement and will provide you your task even withing a day. Thanks, Anurag

$55 USD in 2 dias
(7 Comentários)
2.9
soumenmurmu

hi i am an experienced c++ programmer and developed softwares for both windows and linux/unix platforms. recently completed an socket program in linu . so hope wouldnot take much time to complete it...

$55 USD in 2 dias
(1 Comentário)
2.9
SeeProg

hi i expert c/cpp programer. i can do this project as i have experience writing raw socket program and advanced distributed applications. please consider my bid. regards Jamil

$167 USD in 3 dias
(3 Comentários)
2.1
peastech

we are from peas technologies, we have 7 years of experience in software and embedded development. we ate doing industrial and educational research projects. we can provide you line by line explanation at end of statem Mais

$45 USD in 5 dias
(3 Comentários)
1.8
patres16

Hi i have experience in wiriting socket software and this seems to me like a easy project and i would like to make it for you :) i can write it in C or C++

$88 USD in 3 dias
(1 Comentário)
0.8
CoolTechie07

A proposal has not yet been provided

$222 USD in 3 dias
(0 Comentários)
0.0
ac1bd4

Hello, I'm Dusan, and I am a young electronic engineer from Serbia. I work as a full time embedded Linux software developer and this task suits me perfectly. I work with POSIX threads and sockets everyday. I would c Mais

$83 USD in 7 dias
(0 Comentários)
0.0
Omauda

Hello Sir, We are a start up company with a team of enthusiastic coders. We have experience of system and socket programming in Linux. That experience will help us to do your project as soon as possible with efficiency Mais

$45 USD in 2 dias
(0 Comentários)
0.0
cnskyboy88

A proposal has not yet been provided

$88 USD in 5 dias
(0 Comentários)
0.0
phucnguyenv

Hi, I can do this task in 2 days. I hope you will consider me for doing it. Thank you for your time and looking forward to working with you. Phuc Nguyen V.

$77 USD in 2 dias
(0 Comentários)
0.0
Allistair90

Hello, I am a programmer an IT degree with more than 2 years of expenrience and I can do this job for you,please contact me for further information

$55 USD em 1 dia
(0 Comentários)
0.0