---
id: udp-ip
name: Udp.ip
category: udp
kind: namespace-method
tokens: Udp.ip
sig: Udp.ip(text) -> int
tip: Parse a dotted address.
order: 9
ns: Udp
member: ip
---
Turns "a.b.c.d" into an address, or 0 when the text is not one.
```ludic
program Demo {
entry {
print(Udp.ip(text: "10.0.0.2"))
}
}
```