What function would I use to flush a socket which was made with the socket() call? I've seen examples flushing sockets with fflush(), but those sockets were made using fdopen(). So is there a function that can flush sockets made with socket(), or is there a way to convert the value returned by socket() to an FILE* (so I can flush it with fflush)?
Thanks in advance