开发者

System.Net.Sockets.Socket

开发者 https://www.devze.com 2023-02-13 14:29 出处:网络
Hi I have a chat program using System.Net.Sockets.Socket that works perfectly over LAN. My question is - will this same program work over the net with little or no modification and if so do i provide

Hi I have a chat program using System.Net.Sockets.Socket that works perfectly over LAN.

My question is - will this same program work over the net with little or no modification and if so do i provide the client with the IP of my开发者_高级运维 machine or of my router and use port forwarding ?

My IP is NOT static (i do understand the implications of this)

thanks


It should work identically, as long as you can get a connection through. there is technically no difference between lan communication and internet communication (one is just huge and complex)

0

精彩评论

暂无评论...
验证码 换一张
取 消