Monte Goulding wrote:
>
> Hi All
>
> Just a few of questions:
>
> How do you stop accepting conections? I had a look at mchttpd and it seems
> like Andu is just closing all the open sockets but does this stop new ones
> from being opened?
As long as you don't close the port you listen on, it keeps accepting
connections on that port.
>
> Can someone please outline the syntax for sending a UPD datagram. The
> documentation seems to be saying that you neet to:
> open datagram socket to host:port
> Then I guess you need to write to the socket and close it but at the same
> time it says it's conectionless????
> Wouldn't it be a more accurate statement as follows:
> write datagram tData to socket host:port
>
> Does this data need to be url encoded?
No.
I didn't do much work with UDP so I can't tell you much more then you
know.
I would
open datagram socket to host:port with message X
and
on X
write tData to host:port
close datagram socket host:port
end X
or something like that.
>
> I guess you can only write to the socket once for a datagram???
>
> I would apreciate any comments and corrections on syntax and lack of
> understanding thereof ;-)
>
> Regards
>
> Monte
>
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.