I'm a doctor, not a mechanic

UE2:UdpLink (U2)

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

UdpLink: An Internet UDP connectionless socket.

Properties

Property group 'UdpLink'

BroadcastAddr

Type: int

Modifiers: const


Default value: -1

Default values

Property Value
bAlwaysTick True

Functions

Native functions

BindPort

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


ReadBinary

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


ReadText

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


SendBinary

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


SendText

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


Events

ReceivedBinary

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


ReceivedLine

event ReceivedLine (InternetLink.IpAddr Addr, string Line)


ReceivedText

event ReceivedText (InternetLink.IpAddr Addr, string Text)