Gah - a solution with more questions. – EntropicLqd

UE1:TcpLink (U1)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U1 Object >> Actor >> Info >> InternetInfo >> InternetLink >> TcpLink

Contents

Package: 
IpDrv
Direct subclass:
UBrowserBufferedTcpLink
This class in other games:
RTNP, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004, UT3

TcpLink: An Internet TCP/IP connection.

[edit] Properties

[edit] LinkState

Type: ELinkState


[edit] RemoteAddr

Type: InternetLink.IpAddr


[edit] Default values

Property Value
bAlwaysTick True

[edit] Enums

[edit] 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

[edit] Functions

[edit] Native functions

[edit] BindPort

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


[edit] Close

native function bool Close ()


[edit] IsConnected

native function bool IsConnected ()


[edit] Listen

native function bool Listen ()


[edit] Open

native function bool Open (InternetLink.IpAddr Addr)


[edit] ReadBinary

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


[edit] ReadText

native function int ReadText (out string Str)


[edit] SendBinary

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


[edit] SendText

native function int SendText (coerce string Str)


[edit] Events

[edit] Accepted

event Accepted ()


[edit] Closed

event Closed ()


[edit] Opened

event Opened ()


[edit] ReceivedBinary

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


[edit] ReceivedLine

event ReceivedLine (string Line)


[edit] ReceivedText

event ReceivedText (string Text)


Personal tools