Home > Back-end >  What is the UDP instructions
What is the UDP instructions

Time:09-25

Today the boss from the outside with a device, audio and video control, bring their own a LCD screen, there is also a manual, the book said zha use UDP instructions to control the equipment, but they are all hexadecimal, such as sending a FE 00 00 00 00 FF to the device, open sound, is full of such instructions,
My boss told me to use these instructions from the new do a piece of software, to get on the PC display the device video images, and so on operation, this hasn't done well,

I didn't do it the UDP instruction ha, but my understanding is that they provide the hexadecimal instructions is to control the equipment, the direction is computer to the device to send
And I'm going to fetch the data from the devices to my PC, such as audio stream from the equipment, video streaming on my software, just by UDP instruction is unable to complete is no,

CodePudding user response:

Should be (both wired and wireless) through the network to send UDP packet, content is the certain instruction,

CodePudding user response:

1. Drag a UDP control, then to the contract equipment (command)

2. There may be a special command returns a RTSP address, didn't you
Then fetch the data from the RTSP address

CodePudding user response:

Instruction is an instruction is to return to the RTSP address, but I does use UDP data controls to receive this back? In OnUdpreader?

CodePudding user response:

Short for UDP is User Datagram Protocol, Chinese name is User Datagram Protocol (UDP), is the OSI (Open System Interconnection, Open System Interconnection) reference model, a connectionless transport layer Protocol, provides simple transaction-oriented unreliable information service, IETF RFC 768 is a formal specification of UDP, UDP Protocol in IP packet number is 17,

Full name is the user datagram protocol (UDP agreement [1], it like the TCP protocol is used for processing in the network packets is a connectionless protocol, in the OSI model, in the fourth layer, transport layer, is in on the layer of the TCP/IP protocol, UDP does not provide packet group, assembly and not prioritize the disadvantages of the packet, that is to say, when a message sent, don't know if it is safe to complete, UDP used to support those who need to transfer data between computer network applications, including network video conference system, the numerous client/server model of network application you need to use the UDP protocol, UDP protocol since launch is already in use for many years, although its original luster has been overshadowed by some similar agreements, but even today the UDP is still a very practical and feasible network transport layer protocols,

And known as the TCP (transmission control protocol) protocol, the UDP protocol is directly at the top of the IP (Internet protocol) protocol, based on the OSI (open system interconnection) reference model, UDP and TCP belong to the transport layer protocol, the UDP protocol will network data flow is the main purpose of compressed into packets, in the form of a typical data packet is a binary data transmission unit, each packet of 8 bytes used to contain header information, before the remaining bytes are used to contain specific data transmission,

Delphi UDP, is through the Delphi compiler related UDP protocol procedures, usually by TUDPSocket component implementation,
Your boss with a device from the outside, is through the UDP to control the audio and video equipment,
  • Related