使用C#通过ip Messenger开发聊天应用程序时出现问题 [英] Problem while developing chatting application through ip messenger using c#
问题描述
嗨
在我的Web应用程序中,我正在开发IP即时通讯聊天程序,并在其中建立了与TCP的连接.通过ip地址与本地主机连接时,它显示错误消息每个套接字地址(协议/网络地址/端口只有一种用法)通常是允许的."
如果您不介意,请发送示例代码以通过IP地址进行聊天.此外,我已经检索了与LAN连接的所有IP地址,我需要向用户选择的特定IP地址发送和接收文本.
在此先感谢
v.rakesh krishnan
Hi
In my web application,i''m developing IP messenger chat where i have established the connection with TCP.While connecting with local host via ip address it showing error called "Only one usage of each socket address (protocol/network address/port) is normally permitted".
If you don''t mind can you please send a sample code for chatting through IP address.Moreover,i have retrieved all the ip address connected with a LAN ,I need to send and receieve a text to particlar ip address which user selects.
Thanks in Advance
v.rakesh krishnan
推荐答案
请访问此链接,您可能会得到答案..!
链接1
链接2
Please go through this links you may get your answer..!
Link-1
Link-2
浏览以下链接
使用异步TCP套接字的聊天应用程序 [ ^ ]
使用C#的TCP/IP聊天应用程序 [
Go through the below links
A Chat Application Using Asynchronous TCP Sockets[^]
TCP/IP Chat Application Using C#[^]
Thanks
--RA
^ ]
ASP.NET-在线聊天代码 [ ^ ]
C#.NET-如何制作简单的聊天应用程序 [ ^ ]
ASP.NET - how to develop chat application[^]
ASP.NET - online chatting code[^]
C# .NET - How to make simple Chat application[^]
这篇关于使用C#通过ip Messenger开发聊天应用程序时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!