Messages sent based on "accept datagram" are not the same on W2K 
and OS X.  I think the OS X behavior is a bug.


Windows 2000 (Revolution 1.1)
Subsequent to the "accept datagram" command, the message specified 
in the command is sent each time a UDP datagram is received for the 
specified port (from any source).  The message has two arguments.  
The first is the sender's IP followed by a vertical bar and what 
seems to be a connection ID.  The second is the content of the 
datagram.  This continues until the connection is closed.  It is 
closed using the port number.


OS X (Revolution 1.1.1 B1)
This is the same as above with two important exceptions.

First, the message is sent immediately upon execution of "accept 
datagram".  On my computer it looks like a bogus datagram from 
112.85.12.116 with empty content.

Second, once a real datagram is received, all subsequent datagrams 
are ignored.

(It might be possible to write some code to accept-close 
repeatedly, but some datagrams might be lost.)


Since I'm new to Revolution, I might be doing something wrong that 
W2K forgives and OS X does not.  Also, I'm not using exactly the 
same version of Revolution on the two computers.

Dar Scott

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to