如何在vb.net中使用tcp客户端服务器实现多个密码和用户名验证 [英] how to client server thatt achieve a multiple password and username verification using tcp in vb.net

查看:120
本文介绍了如何在vb.net中使用tcp客户端服务器实现多个密码和用户名验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请为此提供帮助....我是否添加了它的多个密码和用户名验证...,请向您提供最后的帮助,它是帮助的分配.

please i need help on this....did i add that its a multiple password and username verification ...thnks you for the last help it was allot of help.

推荐答案

您必须实现自己的TCP聊天协议.我认为您可以使用发送USER和PASS命令的POP3模型,甚至可以使用带有2个参数的简单LOGIN命令.

您可以使用TcpListener TcpClient 类开始.

http://msdn.microsoft.com/en-us/library/system. net.sockets.tcplistener.aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/system. net.sockets.tcpclient.aspx [ ^ ]
You''d have to implement your own TCP chat protocol. I reckon you could use the POP3 model of sending USER and PASS commands or even a simple LOGIN command that takes 2 arguments.

You can use the TcpListener and TcpClient classes to get started.

http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx[^]

http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx[^]


这篇关于如何在vb.net中使用tcp客户端服务器实现多个密码和用户名验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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