Started working on a simple UDP wrapper

This commit is contained in:
Kayne Ruse
2013-05-19 04:25:35 +10:00
parent d2087be9ac
commit b3691a341c
5 changed files with 98 additions and 14 deletions
+26 -6
View File
@@ -17,12 +17,32 @@ using ';' delimited commands, how can I get it to work?
-------------------------
UDPNetworkManager: //don't worry at this stage
Open(port)
Close()
UDPNetworkUtility:
void Open(port, packSize)
void Close()
Send(ip, port)
Receive()
//bind to an available channel
int Bind(ip, port)
int Bind(address)
//bind to a certain channel
int Bind(ip, port, channel)
int Bind(address, channel)
void Unbind(channel)
int Send(channel, data, len)
int Receive()
GetIPAddress(channel)
GetOutData()
GetInData()
GetInData()
GetOutPacket()
GetInPacket()
UDPsocket socket
UDPpacket packOut
UDPpacket packIn
end