An open API service indexing awesome lists of open source software.

https://github.com/proprietary/ip

tool for self-hosting a "What is my IP?" server, supporting both IPv4 and IPv6, written in C++
https://github.com/proprietary/ip

cpp epoll linux networking tcp-server

Last synced: 2 months ago
JSON representation

tool for self-hosting a "What is my IP?" server, supporting both IPv4 and IPv6, written in C++

Awesome Lists containing this project

README

          

# a "What is my IP?" server

Linux only because this uses `epoll(7)`

## Building

```bash
bazel //:ip
./bazel-bin/ip --port=50888
```

## Example usage

```bash
# get my IPv6
curl -6 :50888

# get my IPv4
curl -4 :50888
```

## License

Apache-2.0