I use read () and write() for text, but how do I send non-text through sockets? i.e. files, audio video etc.
I have no problem obtaining the audio I use SFML, but what function do I use to integrate it with sockets
I am on a Mac and using the kernel for socket functions