packet is being sent and received, bare-bones ping-pong is working

This commit is contained in:
Kayne Ruse
2013-05-20 01:02:15 +10:00
parent b587759203
commit 7866f46ed5
18 changed files with 342 additions and 63 deletions
+4
View File
@@ -0,0 +1,4 @@
Button:
SetImageSurface()
SetFontSurface()
end
+32
View File
@@ -46,3 +46,35 @@ UDPNetworkUtility:
UDPpacket packIn
end
-------------------------
packet_list.hpp:
Ping:
end
Pong:
end
JoinRequest:
avatarName
...
end
JoinConfirm:
yourID
end
NewPlayer:
id
position
motion
avatarName
end
MotionUpdate:
id
position
motion
end
union Packet:
MotionUpdate
end
end
-------------------------