[PerlChina] 求助如何可以读取邮箱中邮件啊

tiger peng tigerpeng2001 at yahoo.com
Thu Jan 31 06:07:27 PST 2008


Be careful! Someone else may 监听你的请求/密码.

----- Original Message ----
From: truncatei <truncatei at gmail.com>
To: china-pm at pm.org
Sent: Wednesday, January 30, 2008 9:47:08 PM
Subject: Re: [PerlChina] 求助如何可以读取邮箱中邮件啊


Perl可以写服务器程序的,看看IO:Socket模块。
在服务器上创建一个服务器进程,一直监听来自某个端口的请求客户端发起请求,连接到步骤1中使用的端口,连接成功后发送一些数据,比如密码和需要执行的命令服务器端收到客户的请求数据,验证密码,通过system调用执行命令,返回状态给客户端,如果可以取到运行后的结果数据,返回数据数据传输格式自己定义,客户端和服务器都遵守约定就好


2008/1/31 Steven Zhu <stevenzyk at gmail.com>:

这样的话太麻烦了,你所说的监听这个如何做哪,是否可以提供个思路或者例子啊?

perl不是很熟,呵呵,谢谢!





-- 
如果觉得无聊,您不妨访问Google Reader消遣 http://www.google.com/reader/view
要尝试黑版本Google,请访问 http://www.google.com/custom?q=&sa=Search&client=pub-4021907304270164&forid=1&channel=7519554017&ie=UTF-8&oe=UTF-8&cof=GALT%3A%23FF9900%3BGL%3A1%3BDIV%3A%230033FF%3BVLC%3ACC9900%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AFFFFFF%3BLC%3AFFFFFF%3BT%3ACCCCCC%3BGFNT%3A33CC00%3BGIMP%3A33CC00%3BFORID%3A1%3B&hl=en


-----Inline Attachment Follows-----

_______________________________________________
China-pm 
mailing 
list
China-pm at pm.org
http://mail.pm.org/mailman/listinfo/china-pm



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20080131/3c98d773/attachment.html 


More information about the China-pm mailing list