Cogito, ergo sum
- 1 Properties
- 2 Enums
- 3 Structs
- 4 Functions
- Direct subclasses:
- TcpLink, UdpLink
- This class in other games:
- RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UDK, UT3
InternetLink: Parent class for Internet connection classes
Internal hint whether data is available (1) or not (0).
When in event receive mode and line link mode, this property tells which line break type to use for received string data.
Specifies what kind of data is expected to be received or sent. When sending text data in link mode "line", a line break is appended according to the OutLineMode property.
Specifies the type of line break to append when sending text data in link mode "line".
Contains the locally bound port after a port has been bound e.g. with TcpLink.BindPort().
Modifiers: private, native, const
An internal pointer used for resolving DNS names into IP addresses.
Specifies whether events should be called when data is received or the code will manually retrieve data using the appropriate read functions.
The remote socket for connected TcpLink instances.
The local socket.
Specifies a line break type for link mode "line".
- Allows any line break type for received text, appends DOS line break (CRLF) when sending text.
Specifies whether binary data or text is expected to be sent or received.
- The received data is expected to be text. When sending text, no line break is appended. When receiving text, it is not split at line breaks.
- The received data is expected to be text. When sending text, a line break according to the OutLineMode is appended. When receiving text, it is split at the type of line break specified by InLineMode and that line break is discarded.
- The received data is expected to be binary data. When sending or reading text, this mode behaves exactly like MODE_Text.
Specifies whether received data is read manually or provided automatically by calling the appropriate event.
- Received data will be read by the read functions defined in subclasses.
- Received data will be provided by calling the received events defined in subclasses.
An IP address and port number.
Returns the local IP address and port 0.
Converts the IpAddr value into a readable IP:Port string, e.g. "220.127.116.11:12345".
Returns whether the socket has received data that was not yet read by calling the appropriate read functions.
Attempts to parse a URL string like "protocol://host:port/path?options#anchor" (all parts are optional) and returns the host part as address, the port and (if its an internal URL to a local map or game server) the path as map name and the anchor as entry point name. Returns whether the URL string looked valid.
Resolves the specified DNS name or IP address string. The resolve result is returned by calling Resolved() when resolving was successful. When an IP address string is specified, it is converted and returned immediately via Resolved(). (The Resolved() call happens within the Resolve() call, i.e. be careful when calling Resolve() from Resolved() with IP address strings. Consider using StringToIpAddr() instead.)
Converts the specified IP address string to an IpAddr value and returns whether the string represented a valid IP address. Specifying a port is not supported!
Called when a Resolve() operation completed successfully. May be called directly from within Resolve() if the string to resolve represented an IP address.
Called when a Resolve() operation failed. May be called directly from within Resolve() if the string to resolve represented the IP address