mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-05 00:35:23 +00:00
Ref: <https://github.com/Genymobile/scrcpy/issues/829> Suggested-by: Louis Kruger <louisk@gmail.com>
22 lines
229 B
C
22 lines
229 B
C
#include "net.h"
|
|
|
|
#include <unistd.h>
|
|
|
|
#include "config.h"
|
|
|
|
bool
|
|
net_init(void) {
|
|
// do nothing
|
|
return true;
|
|
}
|
|
|
|
void
|
|
net_cleanup(void) {
|
|
// do nothing
|
|
}
|
|
|
|
bool
|
|
net_close(socket_t socket) {
|
|
return !close(socket);
|
|
}
|