Oct-29-2019, 12:44 PM
*client_address
unpacks the tuple into its individual elements. This way format(*client_address,client_address[1],message['FrameNumber'])
is same as format('192.168.167.200', 49706, 49706, 396)
You have just 3 placeholders thus the last element (396) is simply ignored
when on 2 lines it just ignores the second 49706.
In other words, change your code to .format(*client_address, message['FrameNumber'])
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs