I always showed a jpeg file within widget or label using their address in the local system. This time, I want to

read a jpeg file from tcp socket and show the image, is there any functions for doing that?