Ethernet icon indicating copy to clipboard operation
Ethernet copied to clipboard

Fixed infinity loop in send UDP packet

Open maxpromer opened this issue 3 years ago • 2 comments

I found some time flag away not send then loop is infinite, Fixed by add timer to socket.cpp

maxpromer avatar Nov 11 '21 14:11 maxpromer

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 11 '21 14:11 CLAassistant

Memory usage change @ d06b06ac205b9fcac01fef57d3e48a43931bf711

Board flash % RAM for global variables %
arduino:avr:leonardo :small_red_triangle: 0 - +46 0.0 - +0.16 0 - 0 0.0 - 0.0
arduino:avr:mega :small_red_triangle: 0 - +46 0.0 - +0.02 0 - 0 0.0 - 0.0
arduino:avr:nano :small_red_triangle: 0 - +46 0.0 - +0.15 0 - 0 0.0 - 0.0
arduino:megaavr:nona4809 :small_red_triangle: 0 - +46 0.0 - +0.09 0 - 0 0.0 - 0.0
arduino:megaavr:uno2018 :small_red_triangle: 0 - +46 0.0 - +0.09 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg :small_red_triangle: 0 - +16 0.0 - 0.0 N/A N/A
arduino:samd:arduino_zero_edbg :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrfox1200 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrvidor4000 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1310 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrzero :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot :small_red_triangle: 0 - +20 0.0 - +0.01 0 - 0 0.0 - 0.0
Click for full report table
Board examples/AdvancedChatServer
flash
% examples/AdvancedChatServer
RAM for global variables
% examples/BarometricPressureWebServer
flash
% examples/BarometricPressureWebServer
RAM for global variables
% examples/ChatServer
flash
% examples/ChatServer
RAM for global variables
% examples/DhcpAddressPrinter
flash
% examples/DhcpAddressPrinter
RAM for global variables
% examples/DhcpChatServer
flash
% examples/DhcpChatServer
RAM for global variables
% examples/LinkStatus
flash
% examples/LinkStatus
RAM for global variables
% examples/TelnetClient
flash
% examples/TelnetClient
RAM for global variables
% examples/UDPSendReceiveString
flash
% examples/UDPSendReceiveString
RAM for global variables
% examples/UdpNtpClient
flash
% examples/UdpNtpClient
RAM for global variables
% examples/WebClient
flash
% examples/WebClient
RAM for global variables
% examples/WebClientRepeating
flash
% examples/WebClientRepeating
RAM for global variables
% examples/WebServer
flash
% examples/WebServer
RAM for global variables
%
arduino:avr:leonardo 46 0.16 0 0.0 46 0.16 0 0.0 46 0.16 0 0.0 46 0.16 0 0.0 46 0.16 0 0.0 0 0.0 0 0.0 46 0.16 0 0.0 0 0.0 0 0.0 46 0.16 0 0.0 46 0.16 0 0.0 46 0.16 0 0.0 46 0.16 0 0.0
arduino:avr:mega 46 0.02 0 0.0 46 0.02 0 0.0 46 0.02 0 0.0 46 0.02 0 0.0 46 0.02 0 0.0 0 0.0 0 0.0 46 0.02 0 0.0 0 0.0 0 0.0 46 0.02 0 0.0 46 0.02 0 0.0 46 0.02 0 0.0 46 0.02 0 0.0
arduino:avr:nano 46 0.15 0 0.0 46 0.15 0 0.0 46 0.15 0 0.0 46 0.15 0 0.0 46 0.15 0 0.0 0 0.0 0 0.0 46 0.15 0 0.0 0 0.0 0 0.0 46 0.15 0 0.0 46 0.15 0 0.0 46 0.15 0 0.0 46 0.15 0 0.0
arduino:megaavr:nona4809 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 0 0.0 0 0.0 46 0.09 0 0.0 0 0.0 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0
arduino:megaavr:uno2018 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 0 0.0 0 0.0 46 0.09 0 0.0 0 0.0 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0 46 0.09 0 0.0
arduino:sam:arduino_due_x_dbg 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 0 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A 16 0.0 N/A N/A
arduino:samd:arduino_zero_edbg 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkr1000 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrfox1200 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrgsm1400 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrnb1500 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrvidor4000 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrwan1300 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrwan1310 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrwifi1010 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:mkrzero 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
arduino:samd:nano_33_iot 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 0 0.0 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0 20 0.01 0 0.0
Click for full report CSV
Board,examples/AdvancedChatServer<br>flash,%,examples/AdvancedChatServer<br>RAM for global variables,%,examples/BarometricPressureWebServer<br>flash,%,examples/BarometricPressureWebServer<br>RAM for global variables,%,examples/ChatServer<br>flash,%,examples/ChatServer<br>RAM for global variables,%,examples/DhcpAddressPrinter<br>flash,%,examples/DhcpAddressPrinter<br>RAM for global variables,%,examples/DhcpChatServer<br>flash,%,examples/DhcpChatServer<br>RAM for global variables,%,examples/LinkStatus<br>flash,%,examples/LinkStatus<br>RAM for global variables,%,examples/TelnetClient<br>flash,%,examples/TelnetClient<br>RAM for global variables,%,examples/UDPSendReceiveString<br>flash,%,examples/UDPSendReceiveString<br>RAM for global variables,%,examples/UdpNtpClient<br>flash,%,examples/UdpNtpClient<br>RAM for global variables,%,examples/WebClient<br>flash,%,examples/WebClient<br>RAM for global variables,%,examples/WebClientRepeating<br>flash,%,examples/WebClientRepeating<br>RAM for global variables,%,examples/WebServer<br>flash,%,examples/WebServer<br>RAM for global variables,%
arduino:avr:leonardo,46,0.16,0,0.0,46,0.16,0,0.0,46,0.16,0,0.0,46,0.16,0,0.0,46,0.16,0,0.0,0,0.0,0,0.0,46,0.16,0,0.0,0,0.0,0,0.0,46,0.16,0,0.0,46,0.16,0,0.0,46,0.16,0,0.0,46,0.16,0,0.0
arduino:avr:mega,46,0.02,0,0.0,46,0.02,0,0.0,46,0.02,0,0.0,46,0.02,0,0.0,46,0.02,0,0.0,0,0.0,0,0.0,46,0.02,0,0.0,0,0.0,0,0.0,46,0.02,0,0.0,46,0.02,0,0.0,46,0.02,0,0.0,46,0.02,0,0.0
arduino:avr:nano,46,0.15,0,0.0,46,0.15,0,0.0,46,0.15,0,0.0,46,0.15,0,0.0,46,0.15,0,0.0,0,0.0,0,0.0,46,0.15,0,0.0,0,0.0,0,0.0,46,0.15,0,0.0,46,0.15,0,0.0,46,0.15,0,0.0,46,0.15,0,0.0
arduino:megaavr:nona4809,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,0,0.0,0,0.0,46,0.09,0,0.0,0,0.0,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0
arduino:megaavr:uno2018,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,0,0.0,0,0.0,46,0.09,0,0.0,0,0.0,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0,46,0.09,0,0.0
arduino:sam:arduino_due_x_dbg,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,0,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A,16,0.0,N/A,N/A
arduino:samd:arduino_zero_edbg,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkr1000,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrfox1200,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrgsm1400,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrnb1500,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrvidor4000,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrwan1300,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrwan1310,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrwifi1010,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:mkrzero,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0
arduino:samd:nano_33_iot,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,0,0.0,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0,20,0.01,0,0.0

github-actions[bot] avatar Nov 11 '21 14:11 github-actions[bot]