Product Function; Basic Function; Socket; Tcp Client - Ebyte E90-DTU User Manual

Hide thumbs Also See for E90-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd

3 Product function

3.4

Basic function

→Ethernet

3.4.1 SOCKET

E90-DTU-(400SL30-ETH) can establish two Sockets, namely Socket A1 and Socket B1. Among them, Socket A1 supports TCP
Client, TCP Server, UDP Client, and UDP Server. Socket B1 only supports TCP Client, UDP Client, and UDP Server.
Two Sockets run simultaneously. It can be connected to different networks at the same time for data transmission.

3.4.2 TCP Client

(1) The TCP Client provides a client connection for the TCP network service. Proactively initiate a connection request to the server
and establish a connection for interaction between the wireless data and the server data. According to the relevant provisions of the
TCP protocol, the TCP Client has the difference of connection and disconnection, thereby ensuring reliable exchange of data. It is
commonly used for data interaction between devices and servers and is the most commonly used method of networked
communication.
(2) E90-DTU-(400SL30-ETH) When attempting to connect to the server in TCP Client mode and the local port is 0, the connection
is initiated with a random port each time.
(3) E90-DTU-(400SL30-ETH) supports short connection function.
(4) Under the same LAN, if E90-DTU-(400SL30-ETH) is set to static IP, please keep the IP and gateway of
E90-DTU-(400SL30-ETH) on the same network segment, and set the gateway IP correctly, otherwise Will not communicate properly.

3.4.3 TCP Server

(1) TCP Server is a TCP server. In TCP Server mode, E90-DTU-(400SL30-ETH) listens to the local port, accepts and establishes
connection for data communication when the connection request is sent. When E90-DTU-(400SL30-ETH) receives the data, it will be
Send data to all client devices that are connected to the E90-DTU-(400SL30-ETH).
(2) Usually used for communication with TCP clients in the LAN. It is suitable for scenarios where there is no server in the LAN
and there are multiple computers or mobile phones requesting data from the server. As with TCP Client, there is a difference between
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co., Ltd
E90-DTU(400SL30-ETH) User Manual
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

400sl30-eth

Table of Contents