On Friday, November 15, 2002, at 02:54 PM, Zac Elston wrote:

on mouseup
  open socket to "host:25|mysocketname"
  read from socket mysocketname until linefeed
  answer it
  close socket mysocketname
end mouseup
This looks like the trouble area.

on mouseup
local mySocket
put "127.0.0.1:25|mysocketID" into mySocket
open socket to mySocket
read from socket mySocket until linefeed
answer it
close socket mySocket
end mouseup

Use the socketId if you might be creating two (or more) connections to port 25 on the same computer at the same time. For example, you might have code in one place sending mail on an alarm and code in another place sending mail for regular reports; they might use a common queue for other code or independently connect--the latter needs the use of the socketID.

Dar Scott


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


Reply via email to