diff options
author | rsiddharth <s@ricketyspace.net> | 2020-04-17 21:02:35 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-04-17 21:02:35 -0400 |
commit | b924fc2f66d46ee10aa3b800a6521d3940919f9f (patch) | |
tree | 130a19d8211874e3ba01203af0d2332506106be4 /src/nsocket.h | |
parent | 1bab8e87d3875f672e7c36d10aea9e05f657c664 (diff) |
nserver/ -> ./
Diffstat (limited to 'src/nsocket.h')
-rw-r--r-- | src/nsocket.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nsocket.h b/src/nsocket.h new file mode 100644 index 0000000..17cea75 --- /dev/null +++ b/src/nsocket.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* + * Copyright © 2020 rsiddharth <s@ricketyspace.net> + */ + +#ifndef _nsocket_h +#define _nsocket_h + +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> + +#include <dbg.h> + +#define PORT "7899" + +int get_socket(); + +#endif |