Unity and server communication blog URL Daquan

Unity and server communication blog URL Daquan

Set up a web server to realize simple communication between unity and the server:
https://blog.csdn.net/qq_27535197/article/details/83826600

Unity直连MySQL:https://blog.csdn.net/qq_41387301

Use Grpc in Unity:
https://blog.csdn.net/blueloveTH/article/details/85535554

Common methods for connecting and interacting between Unity and mySql (addition, deletion, modification and check):
https://blog.csdn.net/wks310/article/details/86543891

Unity connection server port (WWW):
https://blog.csdn.net/qq_41387301/article/details/85993517

Communication mode between client and server in Unity (Socket):
https://www.cnblogs.com/clhxxlcj/p/10916768.html

Data interaction between Unity and the background server (Networking): https://www.jianshu.com/p/bdb8d8e3acab

Data interaction between Unity and the background server (WWW):
https://www.cnblogs.com/Firepad-magic/p/5797508.html#autoid-0-3-0

The difference between HTTP, TeInet, SSH, and FTP protocols: https://www.cnblogs.com/zhanglulu-career/p/8508745.html

The difference between TCP and UDP: https://zhuanlan.zhihu.com/p/24860273

Commonly used port numbers for HTTP, FTP and other protocols: https://blog.csdn.net/ypt523/article/details/79636647

The difference between HTTP and Socket: https://www.cnblogs.com/zhuleixiao/p/9218121.html

HTTP is a short connection, and the server needs to respond after the client sends a request. Socket is a long connection, and the server can actively send data to the client.

Chinese version of gRPC official document:
http://doc.oschina.net/grpc?t=60132

Grpc basic tutorial: https://blog.csdn.net/qq_28110727/article/details/78984746

Protocol bufffers tutorial: https://www.cnblogs.com/chenyangyao/p/5422044.html

C# call gRPC steps and detailed instructions:
https://blog.csdn.net/img_Guo/article/details/86096604

HTTP: (HyperText Transfer Protocol, hypertext transfer protocol)
TeInet: (remote login protocol)
SSH: (Network Working Group, secure login protocol)
FTP: (File Transfer Protocol, file transfer protocol)
HTTPS: (Hypertext Transfer Protocol over Secure Socket Layer, the secure version of the http channel)
TCP: (Transmission Control Protocol, transmission control protocol)
UDP: (User Data Protocol, user datagram protocol)
Insert picture description here

GRPC: A high-performance, open source and general-purpose RPC (Remote Procedure Call Protocol) framework, oriented to server and mobile terminals, based on HTTP/2 design. The advantage of gRPC is that it is very simple to design the API for complex update operations, has an efficient and compact process communication mechanism, and is efficient when exchanging a large number of messages. The remote procedure call and message transmission can use two-way streaming message mode, and the client and The server supports multiple languages ​​and has strong interoperability. However, the disadvantage of gRPC is that it is inconvenient to integrate with JavaScript, and some firewalls do not support this protocol.

Protobuf: A platform-independent, language-independent, scalable, lightweight and efficient serialized data structure protocol that can be used for network communication and data storage.

The application layer includes:
1. Hypertext Transfer Protocol (HTTP): the basic protocol of the World Wide Web;
2. File transfer (TFTP Simple File Transfer Protocol);
3. Remote Login (Telnet), which provides remote access to other host functions, which allows users to log in Internet host, and execute commands on this host;
4. Network management (SNMP Simple Network Management Protocol), which provides methods for monitoring network equipment, as well as configuration management, statistical information collection, performance management and security management;
5 , Domain Name System (DNS), which is used to convert domain names and their public broadcast network nodes into IP addresses in the internet.

The network layer includes:
1. Internet Protocol (IP);
2. Internet Control Message Protocol (ICMP);
3. Address Resolution Protocol (ARP);
4. Reverse Address Resolution Protocol (RARP).

Guess you like

Origin blog.csdn.net/qq_43505432/article/details/109243490