I'm a doctor, not a mechanic

Difference between revisions of "UE2:TcpLink (UT2004)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
(unified class descriptions for all engine versions)
Line 1: Line 1:
 +
{{#ifeq:{{gamename}}|UDK|
 
{{infobox class
 
{{infobox class
| package = IpDrv
+
| package = UWeb
 +
| parent1 = InternetLink
 +
| parent2 = Info
 +
| parent3 = Actor
 +
| parent4 = Object
 +
}}
 +
|
 +
{{infobox class
 +
| package = {{#ifeq:{{NAMESPACE}}|UE3|UWeb|IpDrv}}
 
| parent1 = InternetLink
 
| parent1 = InternetLink
 
| parent2 = InternetInfo
 
| parent2 = InternetInfo
Line 6: Line 15:
 
| parent4 = Actor
 
| parent4 = Actor
 
| parent5 = Object
 
| parent5 = Object
 +
}}
 
}}
 
}}
 
{{autogenerated}}
 
{{autogenerated}}
Line 21: Line 31:
 
<!-- enter variable description -->
 
<!-- enter variable description -->
  
 +
{{#ifeq:{{gamename}}|UT2003|
 +
|{{#ifeq:{{NAMESPACE}}|UE1|
 +
|
 
====RecvBuf====
 
====RecvBuf====
 
'''Type:''' [[string]]
 
'''Type:''' [[string]]
Line 27: Line 40:
  
 
<!-- enter variable description -->
 
<!-- enter variable description -->
 +
}}}}
  
 
====RemoteAddr====
 
====RemoteAddr====
Line 48: Line 62:
 
| True
 
| True
 
|}
 
|}
 +
 +
{{#ifeq:{{NAMESPACE}}|UE3|
 +
===Subobjects===
 +
====Sprite====
 +
'''Class:''' {{cl|SpriteComponent|Engine}}
 +
 +
'''Inherits from:''' {{tl|Sprite|InternetLink}}
 +
 +
{{#ifeq:{{gamename}}|UT3|
 +
''No new values.''
 +
|
 +
{| class="list defaults"
 +
! Property
 +
! Value
 +
|-
 +
| {{tl|ReplacementPrimitive||PrimitiveComponent properties}}
 +
| None
 +
|}
 +
}}
 +
}}
  
 
==Enums==
 
==Enums==

Revision as of 06:29, 27 April 2014

UT2004 Object >> Actor >> Info >> InternetInfo >> InternetLink >> TcpLink
Package: 
IpDrv
Direct subclasses:
BufferedTcpLink, WebConnection, WebServer
This class in other games:
RTNP, UT, U1, UE2Runtime, UT2003, U2, U2XMP, UT3, UDK

TcpLink: An Internet TCP/IP connection.

Properties

AcceptClass

Type: class<TcpLink>


LinkState

Type: ELinkState


RecvBuf

Type: string

Modifiers: const

RemoteAddr

Type: InternetLink.IpAddr


SendFIFO

Type: array<byte>

Modifiers: const

send fifo

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
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

Functions

Native functions

BindPort

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