简体   繁体   中英

what should ip be for socket programming?

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_ANY0.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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM