Threads are “light weight processes” (LWPs). The process has five fundamental parts: code (“text”), data (VM), stack, file I/O, and signal tables. “Heavy-weight processes” (HWPs) have a significant amount of overhead when switching: all the tables have to be flushed from the processor for each task switch. Also, the only way to achieve shared information between HWPs is through pipes and “shared memory”. If a HWP spawns a child HWP using fork(), the only part that is shared is the text.
Sockets are interfaces that can “plug into” each other over a network. Once so “plugged in”, the programs so connected communicate.
Threads reduce overhead by sharing fundamental parts. By sharing these parts, switching happens much more frequently and efficiently. Also, sharing information is not so “difficult” anymore: everything can be shared. There are two types of threads: user-space and kernel-space.
Dear sir
I have completed client ans server application using socket within the system for three clients.
Thanks.
implemented ftp project using threads for parallel read and write operations for several clients, sockets for data establishing connection b/w two end points and mutex’s for synchronisation .
thanxx !!
implemented ftp project using threads for parallel read and write operations for several clients, sockets for establishing connection b/w two end points and tranferring the data b/w the end points and mutex’s for synchronisation .
thanxx !!
sir ,
i have implemented ftp project in which clients are able te perform get and put operations on server. I have used threads for multiple clients , sockets for communication and mutex for synchronisation .
But i am facing problem when the server comes on read on block after locking the mutex then threads os other’s clients waits for the unlocking and whole system comes in deadlock and other clients are unable to perform operations..
socket and thread applied
some issue in multiple clients chatting at a time ….
working on sokets and thread project….
working on project 4 applied threads and sockets on same machine
chating multiple clients with server across the network using socket,thread
chatting between server and multiple clients is done using socket and threads.Now working on ftp project……….
Dear Sir
I have completed client server projet using threads and sockets.Server is communicating with three clients.I have did this within the system and across the network.I have implemented FTP command like “get”,”put” and “ls” .
thanks for your kind attention.
Hi all,
I have implement client server FTP project using Sockets and Threads with 3 clients. All clients can communicate with server across the network with ls,get and put commands.
Sourabh Bansal
i have completed client server project using sockets and threads…
implemented client server project using thread and sockets…