The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE1:UdpLink (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
RTNP Object >> Actor >> Info >> InternetInfo >> InternetLink >> UdpLink
Package: 
IpDrv
Direct subclasses:
UBrowserLocalLink, UBrowserServerPing, UdpBeacon, UdpServerQuery, UdpServerUplink
This class in other games:
UT, U1, UE2Runtime, U2, U2XMP, UT2003, UT2004

UdpLink: An Internet UDP connectionless socket.

Properties[edit]

Property group 'UdpLink'[edit]

BroadcastAddr[edit]

Type: int

Modifiers: const


Default value: -1

Default values[edit]

Property Value
bAlwaysTick True

Functions[edit]

Native functions[edit]

BindPort[edit]

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


ReadBinary[edit]

native function int ReadBinary (out InternetLink.IpAddr Addr, int Count, out byte B[255])


ReadText[edit]

native function int ReadText (out InternetLink.IpAddr Addr, out string Str)


SendBinary[edit]

native function bool SendBinary (InternetLink.IpAddr Addr, int Count, byte B[255])


SendText[edit]

native function bool SendText (InternetLink.IpAddr Addr, coerce string Str)


Events[edit]

ReceivedBinary[edit]

event ReceivedBinary (InternetLink.IpAddr Addr, int Count, byte B[255])


ReceivedLine[edit]

event ReceivedLine (InternetLink.IpAddr Addr, string Line)


ReceivedText[edit]

event ReceivedText (InternetLink.IpAddr Addr, string Text)