What is this part of the code doing?
I am new to c programming. As a part of my uni course for network
security, I have to design a SSL handshake simulation. I found a sample
code online, however i don't understand some parts of the code. Could you
please help me with following :
What does (char) 0 do ?? ( send_data is defined as char send_data[1024]; )
send_data[0] = (char) 0; //Packet Type = hello
send_data[1] = (char) 3; //Version
No comments:
Post a Comment