Re: Any TCP/IP Protocol Gurus or those willing to try?

new topic     » goto parent     » topic index » view thread      » older message » newer message
smudger said...

JOOI, as I don't understand the question... ;-(

Are you suggesting (say for smtp) that 'mailto' becomes a reserved word in Euphoria and becomes part of the language?

Or that someone writes an smtp.e include that wraps some pre-existing protocol and mailto() becomes a function?

Or something else again?

That someone write an include file to implement the given protocol. For example:

include std/net/ftp.e 
include std/net/smtp.e 
 
ftp f = ftp:open("ftp.johndoe.com") 
ftp:cd(f, "/pub") 
sequence files = ftp:ls(f) 
for i = 1 to length(files) do 
    ftp:save_file(f, files[i]) 
end for 
ftp:close(f) 
 
smtp:send("to@doe.com", "from@doe.com", "Hello, World!", `Hello to@doe.com, 

 
I hope this email finds you well! 
 
from@doe.com`) 

etc, etc, etc... Note, nothing above is any type of spec or how it should be implemented. Just some examples off the top of my head.

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu