I want to connect sa server nga naay router.
unsaon naman na?
duha naman kabook ang IP address sa computer nga naay router.
external and internal
I want to connect sa server nga naay router.
unsaon naman na?
duha naman kabook ang IP address sa computer nga naay router.
external and internal
Hello bro!
How did you connect your Computer to Router and Server to Router?
Imu router, enabled ang DHCP?
If you can share files across computers within the router's network, then ok imu communication.
I'm just confused unsa pasabot nimo sa Internal og External IP Addresses.
Can you please elaborate your setup? aron matabangan tika.
If you want to communicate with programs through Java network, the easiest for me is Socket and ServerSocket.
Networking Basics (The Java™ Tutorials > Custom Networking > Overview of Networking)
Lesson: All About Sockets (The Java™ Tutorials > Custom Networking)
To be able to succeed in this Socket and ServerSocket class, Create a simple CHAT program, either with GUI or through console.
Naa to lain method which is ang other group pag-college nako ang nag himu.
Java RMI which is a bit complex for me, kay wala ko nag tuon og wala ko nag gamit karon.
Trail: RMI (The Java™ Tutorials)
internal IP is the IP address that the router give you and External IP address is the IP address that your ISP give you.
ang server ang akong i.connect naay router.
Socket ClientSocket = new Socket("host IP address", port); /* dba ani man pagconnect sa server? */
akong problem kay dili ko maka connect kay ang host or server naay duha ka IP address witch is internal and external.
through, LOCAL AREA NETWORK ra ka mag communicate sa imu Socket Programming?
kay if that so, then the Local ip address ra ang gamita..
Socket ClientSocket = new Socket("192.168.1.1", port);
but if through internet ka bro, there are some configuration you need to do sa imu router..
and ingon ani ang pag tawag kung through internet,
Socket ClientSocket = new Socket("www.yourdomain.com", port);
me has no router.
myfriend has router.
kong "me" is the host, si "myfriend" maka connect sa "me".
pero kong "myfriend" is the host, "me" cannot connect.
Similar Threads |
|