[Solved] CSE 344- Final Project

$25

File Name: CSE_344-_Final_Project.zip
File Size: 207.24 KB

SKU: [Solved] CSE 344- Final Project Category: Tag:
5/5 - (1 vote)

CSE 344 FNAL RAPORTanm:Bu projede basit bir server client program yazlmtr.Client servera devini gnderir ve server da clientn ncelik kriterine gre clientn devini msait olan en uygun providera verir. Dosyalar:client.c server.c data.dat (provider file) log.datserver programn almas : ./server port_address provider_file log_file client programnn almas ./client client_name priority degree server_address port_addrees Tasarm:Server tarafnda ilk nce daha socket kurulmadan provider says kadar thread retiliyor ve clienttan gelen istek Eer msait hi bir thread yoksa server clienta u anda msait bir provider yok diye mesaj gnderir.Eer varsa server clientn iini en uygun threade verir ve tekrar clientlardan istek gelmesini bekler. Clienta gerekli cevab provider verir.Client cevab aldktan sonra client program kapanr. Threadler arasndaki e zamanlama problemlerini zmek iin mutex ve condition variablelar kullanlmtr. Son olarak SIGINT,SIGTERM ve SIGQUIT sinyallerden biri yakalandnda btn provider thread sonlanr ve bal olan btn clientlara SERVER SHUT DOWN mesaj gnderilir.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE 344- Final Project
$25