Network Blues

Dar Scott dsc at swcp.com
Wed Oct 16 17:58:01 EDT 2002


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)
> 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

I assume gotnews is the accept callback.

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




More information about the metacard mailing list