I have made a ChatApplication by C#.It works with localnetwork ip(127.0.0.1) very well . But I wanna it works in different machines with different modems and ips.What should Ip be for the socket?
聊天应用程序中的服务器组件应在INADDR_ANY
或0.0.0.0
处侦听。聊天客户端应连接到服务器计算机的IP地址。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.