API Reference › Udp › Udp.ip
method

Udp.ip

Udp.ip(text) -> int

Turns "a.b.c.d" into an address, or 0 when the text is not one.

Example

program Demo {
  entry {
    print(Udp.ip(text: "10.0.0.2"))
  }
}
← All symbols