Loading external image

Referring to http://www.cocos2d-iphone.org/forum/topic/5854
How should I load an external image (probably via curl) into a CCSprite?

You can refer to this thread http://www.cocos2d-x.org/boards/6/topics/3922

I am sorry, I can not open the link.
If you offer the data of a picture, then you can generate a CCImage, then generate a CCTexture, then CCSprite.