On Wednesday, October 16, 2002, at 02:42 AM, Thomas McCarthy wrote:
BUT when I tried to use it at my school's computer room (Win98 boxes)I assume gotnews is the accept callback.
Students log on--OK teacher's computer recieves the message
Teacher sends data to student--NO GOOD!
The datagram message is "on gotnews tWhom tWhat"
I use tWhom & a predetermined port to get the student's address and send the data to that address
What version are you using (home and school)? There have been some recent changes in UDP on MC. What you need to do to pull out the IP address from tWhom has changed, but there is a general method that will work with both.
Also, these changes allow the creation of client/server apps so the response does not have to go back to a predetermined port; it can go back to the sender port. Your method allows the teacher's computer to push data if need be, though.
Dar Scott
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
