InternetLink¶
Class in IpDrv · IpDrv.InternetLink · native, transient
Object › Actor › Info › InternetLink
Subclasses: TcpLink
Using it from Lua
Enums¶
ELineMode
LMODE_auto = 0, LMODE_DOS = 1, LMODE_UNIX = 2, LMODE_MAC = 3
ELinkMode
MODE_Text = 0, MODE_Line = 1, MODE_Binary = 2
EReceiveMode
RMODE_Manual = 0, RMODE_Event = 1
Structs¶
IpAddr
| Field | Type |
|---|---|
Addr | int |
Port | int |
Properties¶
| Name | Type | Notes |
|---|---|---|
DataPending | int | const |
InLineMode | ELineMode | |
LinkMode | ELinkMode | |
OutLineMode | ELineMode | |
Port | int | const |
PrivateResolveInfo | pointer | const, native, private |
ReceiveMode | EReceiveMode | |
RemoteSocket | pointer | const |
Socket | pointer | const |
Functions¶
| Name | Declaration |
|---|---|
GetLastError | native function int GetLastError() |
GetLocalIP | native function GetLocalIP(out IpAddr Arg) |
IpAddrToString | native function string IpAddrToString(IpAddr Arg) |
IsDataPending | native function bool IsDataPending() |
ParseURL | native function bool ParseURL(coerce string URL, out string Addr, out int PortNum, out string LevelName, out string EntryName) |
Resolve | native function Resolve(coerce string Domain) |
Resolved | event Resolved(IpAddr Addr) |
ResolveFailed | event ResolveFailed() |
StringToIpAddr | native function bool StringToIpAddr(string Str, out IpAddr Addr) |
Inherited¶
| From | Members |
|---|---|
| Info | 0 properties, 0 functions |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |