File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ Implement a Multithreaded File Server Using Tcp Sockets.
6
6
</p >
7
7
8
8
## File Server (Upload/Download) Using TCP Sockets using python language
9
- - ** SOCK_STREAM** keyword in socket definition implies that the sockets are *** TCP*** , in case of ** SOCK_DGRAM** it would *** UDP*** sockets.
10
- - ` self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) `
11
9
- Multiple Clients Can Connect to the Server.
12
10
- There are 3 files named * temp.py* , * temp2.py* and * temp3.py*
13
11
- First run the * multiserver.py* (in server folder), then run all the above(files in client folder)
@@ -17,3 +15,5 @@ Implement a Multithreaded File Server Using Tcp Sockets.
17
15
- ` threading.Thread(target = self.listenToClient,args = (c,addr)).start() `
18
16
- File is divided into 1KB blocks and File is transferred block by block.
19
17
- code ensures that file is recieved at the other end in 1024bytes only at a time, but you can make changes as you want.
18
+ - ** SOCK_STREAM** keyword in socket definition implies that the sockets are *** TCP*** , in case of ** SOCK_DGRAM** it would *** UDP*** sockets.
19
+ - ` self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) `
You can’t perform that action at this time.
0 commit comments