#DnsClient

C
:Finished
:


_new
m


_free
m


Stop
m


GetHostName
m


GetHostIP
m


HostName
p
s

HostIP
p
s

Async
p
b

Status
r
i

_Properties
C
s
HostName,HostIP,Async=TRUE
_DefaultEvent
C
s
Finished
#Socket
.Stream
C
:Error
:


:Read
:


:Ready
:


:Closed
:


:Found
:


_exit
M


_new
m


_free
m


Peek
m
s

Connect
m

[(HostOrPath)s(Port)i]
Status
r
i

RemotePort
r
i

LocalPort
r
i

RemoteHost
r
s

LocalHost
r
s

Host
p
s

Path
p
s

Port
p
i

_Properties
C
s
Host,Path,Port=80
_DefaultEvent
C
s
Read
#ServerSocket

C
:Connection
:

(RemoteHostIP)s
:Error
:


_new
m

[(Path)s(MaxConn)i]
_free
m


Listen
m

[(MaxConn)i]
Pause
m


Resume
m


Accept
m
Socket

Close
m


Type
p
i<Net,Internet,Local>

Path
p
s

Port
p
i

Status
r
i

MaxPathLength
R
i

_Properties
C
s
Type=0,Path,Port
_DefaultEvent
C
s
Connection
#UdpSocket
.Stream
C
:Error
:


:Read
:


_new
m

[(Port)i]
_free
m


Bind
m

(Port)i
Peek
m
s

Status
r
i

SourceHost
r
s

SourcePort
r
i

TargetHost
p
s

TargetPort
p
i

_Properties
C
s
TargetHost,TargetPort
_DefaultEvent
C
s
Read
#SerialPort
.Stream
C
None
C
i
0
Hardware
C
i
1
Software
C
i
2
Both
C
i
3
Even
C
i
1
Odd
C
i
2
Bits1
C
i
1
Bits2
C
i
2
Bits5
C
i
5
Bits6
C
i
6
Bits7
C
i
7
Bits8
C
i
8
:Read
:


:DTRChange
:

(CurrentValue)b
:DSRChange
:

(CurrentValue)b
:RTSChange
:

(CurrentValue)b
:CTSChange
:

(CurrentValue)b
:DCDChange
:

(CurrentValue)b
:RNGChange
:

(CurrentValue)b
_new
m


_free
m


Open
m


FlowControl
p
i<SerialPort,Hardware,Software,Both,None>

PortName
p
s

Parity
p
i<SerialPort,None,Even,Odd>

Speed
p
i

DataBits
p
i<SerialPort,Bits8,Bits7,Bits6,Bits5>

StopBits
p
i<SerialPort,Bits1,Bits2>

DTR
p
b

RTS
p
b

Status
r
i

DSR
r
b

CTS
r
b

DCD
r
b

RNG
r
b

_Properties
C
s
FlowControl=1,PortName,Parity=0,Speed=19200,DataBits=8,StopBits=1
_DefaultEvent
C
s
Read
#Net


IPv4
C
i
0
Inactive
C
i
0
Active
C
i
1
Pending
C
i
2
Accepting
C
i
3
ReceivingData
C
i
4
Searching
C
i
5
Connecting
C
i
6
Connected
C
i
7
CannotCreateSocket
C
i
-2
ConnectionRefused
C
i
-3
CannotRead
C
i
-4
CannotWrite
C
i
-5
HostNotFound
C
i
-6
CannotBindSocket
C
i
-10
CannotListen
C
i
-14
Internet
C
i
1
Local
C
i
0
Unix
C
i
0
Format
M
s
(IpString)s[(Format)i(LeadZero)b]
