blob: 60cb80f34ac8dcb78f060c248d3deb4a0cd22868 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra7ea4a032019-11-26 20:11:40 +01002 void receive_udp(string host, bytes msg, int hostport)
MG Mud User88f12472016-06-24 23:31:02 +02003
4DESCRIPTION
Zesstra7ea4a032019-11-26 20:11:40 +01005 Handle a received UDP message.
MG Mud User88f12472016-06-24 23:31:02 +02006
Zesstra7ea4a032019-11-26 20:11:40 +01007 This function is called for every message received on the UDP
8 port. Usually it is passed on to some object that handles
9 inter-mud communications.
MG Mud User88f12472016-06-24 23:31:02 +020010
11HISTORY
Zesstra7ea4a032019-11-26 20:11:40 +010012 The 'hostport' argument was added in 3.2.1.
13 LDMud 3.2.9 renamed this method from receive_imp().
MG Mud User88f12472016-06-24 23:31:02 +020014
15SEE ALSO
Zesstra7ea4a032019-11-26 20:11:40 +010016 send_udp(E), query_udp_port(E)