Python Socket realizes file transfer between two computers

Project description The existing systems are two computers of Windows 10, one of which is used as a server and the other as a client. There is a folder pics in the server, which contains 10 pictures, as shown in the following figure: This paper aims to use the Socket library in Python to transfer the pictures in the server to the client. ...

Added by onlinegs on Wed, 02 Mar 2022 00:54:41 +0200

Socket programming of network programming

But to make the Dragon City Flying generals, only because they are in this mountain Before Introduction to BIO and NIO (Netty leader) In this article, we talked about socket. This article wants to broaden our horizons and talk about socket from the perspective of computer network Review the old and know the new, and talk about the network mod ...

Added by inutero on Sun, 27 Feb 2022 13:57:40 +0200

Socket network programming learning notes UDP assisted TCP point-to-point transmission case -- UDP broadcast, search and obtain IP/Port

1. UDP search IP and port Implementation principle: in a LAN, you don't know the IP address of the server, but only the UDP Port common to the server. In this case, you want to realize the TCP connection. TCP is a point-to-point connection, so you need to know the connection IP address and Port of TCP. How to get the IP and Port of TCP? It ca ...

Added by zbert on Sun, 27 Feb 2022 09:23:37 +0200

[SuperSocket 2.0] SuperSocket 2.0 from beginning to end

SuperSocket 2.0 from entry to ignorance SuperSocket 2.0 from entry to ignorance 1 use SuperSocket 2.0 to build a Socket server in the AspNetCore project 1.1 introduction of SuperSocket 2.01.2 build a Socket server in AspNetCore 2 basic protocol concepts 2.1 types of basic agreements 2.1.1 fixed header format protocol2.1.2 f ...

Added by friedemann_bach on Sat, 26 Feb 2022 04:07:53 +0200

ESP32 learning notes - TCP server

1, Advantages and disadvantages of TCP and UDP 1. TCP is connection oriented (for example, dial up to establish a connection before making a call); UDP is connectionless, that is, there is no need to establish a connection before sending data. 2. TCP provides reliable services. In other words, the data transmitted through TCP connection i ...

Added by outsidaz on Sat, 19 Feb 2022 16:32:20 +0200

UC growth path 13

Review: UC growth path 1 UC growth path 2 UC growth path 3 UC growth path 4 UC growth path 5 UC growth path 6 UC growth path 7 UC growth path 8 UC growth path 9 UC growth path 10 UC growth path 11 UC growth path 12 1, Network programming model and Implementation Based on TCP There are two types of transport layer: TCP and UDP TCP is connect ...

Added by mshen on Fri, 18 Feb 2022 23:59:09 +0200

winform socket TCP based communication between server and client - sequel

preface At this time, I understand a word called long connection and short connection Long connection means to declare an event and then open the operation... And then close it. This is a long connection. The long connection can only be opened at the beginning and closed at the end. It can send what data it wants to send and receive what data ...

Added by holly30 on Fri, 18 Feb 2022 15:38:28 +0200

openwrt development summary using pthread to realize socket multi process server

At the beginning of last year, there were a lot of code written in openwrt, although I felt sorry that there was a lot of code written in openwrt in the early days of the company. Let's briefly introduce the socket multi process server on openwrt. Look at the code This is c language code. The code written at that time was not very good. Don' ...

Added by breath18 on Thu, 17 Feb 2022 14:27:35 +0200

Write network programming in Python

Review lessonsFirst addressPart II addressPart III addressStep by step talk back to the packageTo get straight to the point, the third article has mentioned how to receive packets back. At present, network programming is all about Tcp, and the protocol request mode itself will determine the characteristics. Let's talk about the order of contrac ...

Added by lostboy on Wed, 16 Feb 2022 14:26:05 +0200

Write network programming in Python

Go back to the previous textThe first chapter only starts with data structures and some transmission examples. The second chapter will talk about how to use the network transmission protocol under the Python programming scenario.According to the above reply, we will talk about Tcp first in order, and then get to the main topic.Review lessons: W ...

Added by TheTitans on Mon, 14 Feb 2022 11:13:07 +0200