How to mock socket in C

Viewed 3234

I have a function using a socket and I would mock it but I couldn't find how to do it.

Is there a way to mock sockets in C?

Thanks

2 Answers
Related