lan-ip

xod-dev/w5500/lan-ip

Gets a local IP address
lan-ip
@/lan-ip
Gets a local IP address
INET@/w5500-inet
Internet connection
lan-ip
INET
IP
IPxod/net/ip-address
The IP address
To use the node in your project you should have the xod-dev/w5500 library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

node {
    void evaluate(Context ctx) {
        auto inet = getValue<input_INET>(ctx);
        emitValue<output_IP>(ctx, inet.ip);
    }
}