The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:TcpLink (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:29, 27 April 2014 by Wormbo (Talk | contribs) (unified class descriptions for all engine versions)
Object >> Actor >> Info >> InternetInfo >> InternetLink >> TcpLink |
Contents
- Package:
- IpDrv
- Direct subclasses:
- BufferedTcpLink, WebConnection, WebServer
- This class in other games:
- RTNP, UT, U1, UE2Runtime, UT2003, U2, U2XMP, UT3, UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
TcpLink: An Internet TCP/IP connection.
Properties
AcceptClass
Type: class<TcpLink>
LinkState
Type: ELinkState
RecvBuf
Type: string
Modifiers: const
RemoteAddr
Type: InternetLink.IpAddr
SendFIFO
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
Close
native function bool Close ()
IsConnected
native function bool IsConnected ()
Listen
native function bool Listen ()
Open
native function bool Open (InternetLink.IpAddr Addr)
ReadBinary
ReadText
SendBinary
SendText
Events
Accepted
event Accepted ()
Closed
event Closed ()
Opened
event Opened ()
ReceivedBinary
ReceivedLine
event ReceivedLine (string Line)
ReceivedText
event ReceivedText (string Text)