Cogito, ergo sum

UE2:TcpLink (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

Package: 
IpDrv
Direct subclasses:
BufferedTcpLink, WebConnection, WebServer
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT3

TcpLink: An Internet TCP/IP connection.

[edit] Properties

[edit] AcceptClass

Type: class<TcpLink>


[edit] LinkState

Type: ELinkState


[edit] RecvBuf

Type: string

Modifiers: const


[edit] RemoteAddr

Type: InternetLink.IpAddr


[edit] SendFIFO

Type: array<byte>

Modifiers: const

send fifo

[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
STATE_ListenClosePending 
Socket in process of closing
STATE_ConnectClosePending 
Socket in process of closing
STATE_ListenClosing 
Socket in process of closing
STATE_ConnectClosing 
Socket in process of closing

[edit] Functions

[edit] Native functions

[edit] BindPort

native function int 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