forum-msg-id-128058-edit

Original date:2015-05-20 15:23:10 Edited by: menno Subject: Re: The old PEU

Is it a idee , as done in Peu , to make a open() which opens a tcp/ip socket in the next version of Euphoria ?

I have made a device=open("server.where",mode) . Where the mode can be a "c" for open client . And a mode "s" for server and "a" for accept and "aw" for accept with wait until there is a message .

As example see the FTP client : http://members.home.nl/m.s.ter.haseborg/peu/ftp.html Look at the part "openftp" and "PASV" .

I wrote this small client because XP en Vista thiere ftp.exe does not have a pasieve mode .

A other example is a simple mail program : http://menno.jbnetworks.nl/judo/judoforms/mbodyf.html . Where the file "mailbody" consist of multiple mails . This example only uses port 25 . (With the wrapper to "cryptlib" you can use a tsl/ssl (port 465) connection .)

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu