Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE1:TcpLink (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:12, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RTNP Object >> Actor >> Info >> InternetInfo >> InternetLink >> TcpLink
Package: 
IpDrv
Direct subclass:
UBrowserBufferedTcpLink
This class in other games:
UT, U1, UE2Runtime, UT2003, U2, U2XMP, UT2004, UT3, UDK

TcpLink: An Internet TCP/IP connection.

Properties

LinkState

Type: ELinkState


RemoteAddr

Type: InternetLink.IpAddr


Default values

Property Value
bAlwaysTick True

Enums

ELinkState

STATE_Initialized 
Sockets is initialized
STATE_Ready 
Port bound, ready for activity
STATE_Listening 
Listening for connections
STATE_Connecting 
Attempting to connect
STATE_Connected 
Open and connected

Functions

Native functions

BindPort

native function bool BindPort (optional int Port, optional bool bUseNextAvailable)


Close

native function bool Close ()


IsConnected

native function bool IsConnected ()


Listen

native function bool Listen ()


Open

native function bool Open (InternetLink.IpAddr Addr)


ReadBinary

native function int ReadBinary (int Count, out byte B[255])


ReadText

native function int ReadText (out string Str)


SendBinary

native function int SendBinary (int Count, byte B[255])


SendText

native function int SendText (coerce string Str)


Events

Accepted

event Accepted ()


Closed

event Closed ()


Opened

event Opened ()


ReceivedBinary

event ReceivedBinary (int Count, byte B[255])


ReceivedLine

event ReceivedLine (string Line)


ReceivedText

event ReceivedText (string Text)