Let's say i have a program.In this program i have a variable named PacketSize of type Short.I want to change the variable's type to Int.
Now if i am able to locate this variable's location in the memory while running the program , how can i use this to accomplish my aim or is it done by another way?
*The application is a client.
*The variable is for the tcp packet's length which is sent in the packet header by the server to the client.
*I would guess that it's either a part of a structure (Maybe PacketHeader) or a stack one.