When we should we use stream wrapper and socket in PHP?
<p>I don't understand when should we use stream wrapper and socket. Can anyone tell me when should we use stream wrapper and socket in PHP?</p>

<p>Please give me some example regarding the same.</p>
