You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "util/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);
|
|
}
|