Find Jobs
Hire Freelancers

C++ Client-Server Architechture with Sockets on Linux

$30-250 USD

Në vazhdim
Postuar about 12 years ago

$30-250 USD

Paguhet në dorëzim
uses a client-server architecture to implement the tokenizer system. The client and server will communicate using sockets. Use the same struct’s defined for the previous assignments to handle strings and tokens. As in Project 2, the parent program (on the client machine) will handle the string input and the tokenizer, both in threads as before and communicating with queues. Use a third thread handle sending the tokenStruct’s to the server; this will require a new queue. The parent must handle two command line parameters that indicate the server’s name (or address) and the port number, in the form –s server and –p portnumber. Make sure that the socket connection is successful before spawning either thread; if not, report an error and quit. Otherwise, the server runs “forever” – that is, when the quit command is received, only the worker thread quits – the server continues to listen for connections. The server program will take one command line parameter to the server to indicate what port number to use, in the form –p portnumber. As with the client, make sure that the socket initialization is successful before spawning the threads. If it is, display the port number to the screen; if not, report an error and quit. Note that the port number may be in use; only port numbers above 1024 are allowed; you can, if you wish, add a port stepper – a loop that increases the port number until a successful one is found. Also note that the server must be started in the background (add an & to the end of the command), before any client is started, and the server must be killed manually with the kill -9 %pid command. Otherwise, the server runs “forever” – that is, when the quit command is received, only the worker thread quits – the server continues to listen for connections. The server will use three threads – one to handle incoming messages, started after the accept( ) call; the other two threads are the token classifier/printer and the token counter. These threads will communicate using shared memory queues.
ID e Projektit: 1535305

Rreth projektit

7 propozime
Projekt në distancë
Aktive 12 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
Expert C/C++ networking developer. Please see PMB.
$60 USD në 3 ditë
4,6 (3 përshtypje)
2,0
2,0
7 profesionistët e pavarur ofrojnë mesatarisht $131 USD oferta për këtë punë
Avatari i Përdoruesit
Hi I have 7 years experience in C\C++ programming. And also Linux and Windows App programming. Let's start. Thanks.
$250 USD në 5 ditë
4,9 (22 përshtypje)
5,3
5,3
Avatari i Përdoruesit
I am linux netowrk expert. I have rich experience in client/server socket. I can start immediately. Regards.
$250 USD në 5 ditë
4,9 (10 përshtypje)
4,7
4,7
Avatari i Përdoruesit
Hi, please check PMB. Thanks.
$150 USD në 7 ditë
5,0 (20 përshtypje)
4,7
4,7
Avatari i Përdoruesit
Hi, I am expert of C/C++ network. I have rich experience develop network communication. Regards.
$250 USD në 5 ditë
5,0 (3 përshtypje)
3,7
3,7
Avatari i Përdoruesit
Check PMB please.
$250 USD në 1 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
Hi, I have some experience in develop socket in linux. So, I have just done c++ chat application in ubuntu. And now I think I can apply it to your project. Do you hear boost c++ lib which is the best c++ lib in currenty. Certainly, I have experience in it.
$100 USD në 6 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
Hi... i have already worked on this. i can do it better.
$100 USD në 3 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
I am expert in POSIX threads and Linux based programming. Please see PM
$60 USD në 2 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
Hi. I have many experiences in linux programming and linux system management. I check your question an i will give you a good result. Why don't you award me? I will wait for your reply. You can saw PBM Sincerely.
$200 USD në 5 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i UNITED STATES
Jonesborough, United States
5,0
1
Mënyra e pagesës u verifikua
Anëtar që nga mar 29, 2012

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.