Datagrams: or how to avoid tRev(or)

Andre Garzia andre at
Mon Jan 17 07:34:41 EST 2011


On localhost you can choose a random unused port and then write the port
number to a file in a pre-defined place, all clients launching read from
that file to learn which port to use. On lan, you can do like this, on the
server part, when you accept connection do some handshaking, on the client
part, just open the TCP connection and wait for the handshake, if it doesn't
happen then you're talking to the wrong software, disconnect. You can also
broadcast with datagrams, anyone using datagrams should have some sort of
error control to prevent datagrams from wrong apps (also keep aware that
datagram sizes varies with OS)


On Sun, Jan 16, 2011 at 6:10 PM, Mark Wieder <mwieder at> wrote:

> Jan-
> Sunday, January 16, 2011, 11:28:49 AM, you wrote:
> > Well, I figured I had better do it right away, so here it is:
> > <
> >
> Awesome! Thanks. Bookmarked...
> --
> -Mark Wieder
>  mwieder at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

-- All We Do Is Code.

More information about the Use-livecode mailing list