使用vb.net在没有Internet连接的情况下通过LAN发送邮件 [英] Sending Mails Through LAN without Internet connection using vb.net

查看:114
本文介绍了使用vb.net在没有Internet连接的情况下通过LAN发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个通过LAN发送邮件的程序.它在局域网上运行.这就像邮箱一样.如果没有互联网连接,它将必须运行.在Vb.net中如何做

任何身体的帮助

我已经创建了程序,一次只连接一个系统,我想连接所有系统并共享文件黑白局域网

请任何人帮助解决此问题.

I want to create a program Sending Mails Through LAN. This is run on LAN.This is act like Mail Box. It will must run if there are no internet connections. How to do it in Vb.net

Any body help

I already created program is connecting only one system at a time i want to connected all the system and sharing file b/w LAN

Please anybody help for solved this problem

推荐答案

您需要做的第一件事是编写一个邮件宿主程序,该程序将收集和分发邮件.一些简单的套接字服务器应该可以轻松地为您完成这项工作.尝试在Google上搜索"sockets vb.net",您会发现很多示例源代码.
The first thing you need to do is to write a mail host program that will collect and distribute the mail messages. Some simple socket server should easily do the job for you. Try a Google search for "sockets vb.net" and you will find lots of sample source code.


一种简单的方法(不一定是最快或最好的方法)是编写一个带有以下内容的类:一个计时器,该计时器轮询网络上所有用户都可以使用的特定文件.
聪明地处理您的消息即可.
A simple way (not necessarily the fastest or best) would be to write a class with a timer which polls a specific file available to all on the network.
Be clever with your messages and it works.


这篇关于使用vb.net在没有Internet连接的情况下通过LAN发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆