I\'ve heard that we can somehow send an image file with binary over a socket... But I have no idea on how to convert an image file into binary or how to even think of sending it
Any image files you have are already binary. You can just send them over the socket.