Rahul Ahirrao Rahul Ahirrao - 8 months ago 57
Java Question

is static ip important for socket programming java?

I am confused about and port no for socket programming.
If I a have domain name then there is no importance of static ip address. Anyone please help for this.


Socket Programming does not require that you only work with static IP address. You can write code using localhost or If you know the domain name of server, you can use that as well. You can also use the dynamic IP which most internet users get.