Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/DNS-query/Oberon-2/dns-query.oberon
Normal file
16
Task/DNS-query/Oberon-2/dns-query.oberon
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
MODULE DNSQuery;
|
||||
IMPORT
|
||||
IO:Address,
|
||||
Out := NPCT:Console;
|
||||
|
||||
PROCEDURE Do() RAISES Address.UnknownHostException;
|
||||
VAR
|
||||
ip: Address.Inet;
|
||||
BEGIN
|
||||
ip := Address.GetByName("www.kame.net");
|
||||
Out.String(ip.ToString());Out.Ln
|
||||
END Do;
|
||||
|
||||
BEGIN
|
||||
Do;
|
||||
END DNSQuery.
|
||||
Loading…
Add table
Add a link
Reference in a new issue