Find Jobs
Hire Freelancers

C Distributed Systems

$30-5000 USD

Fechado
Publicado há quase 20 anos

$30-5000 USD

Pago na entrega
It will make use of TCP (transmission control protocol) over IP (Internet protocol). Since you’ll want to monitor your server code and your client code simultaneously, you’ll find it useful to open multiple windows to the same hosts. This is a simple matter of opening multiple instances of the same terminal program. Write two short programs, get_lines_from_user and print_lines_to_screen. They will run in separate windows which may be on the same or different machines. get_lines_from_user will repeat the following loop: [login to view URL] the user [login to view URL] a line of input that the user types [login to view URL] that input to print_lines_to_screen using the function msg_to_from_server() defined in client_support.c print_lines_to_screen will repeat the following loop: [login to view URL] msg_from_client() in server_support.c to wait for print_lines_to_screen to send it a line of input [login to view URL] the line to the screen the text by writing two programs: [login to view URL] coordinator, a server program that will receive messages from its clients using msg_from_client() and will reply to the message using reply_to_client(), both in server_support.c 2.a client program. You will run many copies of this program in different windows on several different machines. Each of the clients will repeat the following loop: a)send a message to the coordinator saying that it wants to enter its critical section b)…time passes… c)receive permission from coordinator to enter critical section d)print “In critical section ??" type return to continue?? e)wait until you type return f)send a message to the coordinator saying that it has left is critical section The clients will send messages to the server with msg_to_from_server() defined in client_support.c, which with appropriate call parameters will also wait for a reply. Whenever no client is in its critical section, the coordinator will pick one of the clients that wants to enter its critical section and use reply_to_client() to tell the client that it may enter its critical section. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform unix
ID do Projeto: 3276445

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 20 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
3 freelancers estão ofertando em média $41 USD for esse trabalho
Avatar do Usuário
See private message.
$51 USD em 9 dias
5,0 (9 avaliações)
2,2
2,2
Avatar do Usuário
See private message.
$57,80 USD em 9 dias
4,7 (4 avaliações)
1,1
1,1
Avatar do Usuário
See private message.
$12,75 USD em 9 dias
5,0 (2 avaliações)
0,4
0,4

Sobre o cliente

Bandeira do(a) UNITED ARAB EMIRATES
United Arab Emirates
5,0
13
Método de pagamento verificado
Membro desde abr. 26, 2004

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.