: : : : : : : : This is probably too simple a problem but I am not able to find any
: : : : : : : : answers to it.
: : : : : : : : I was having an instant conversation with somebody using yahoo
: : : : : : : : messenger but could not ping to that persons machine and neither could
: : : : : : : : he ping to mine, is this possible? And if it is please tell me how to
: : : : : : : : solve this problem?
: : : : : : : : Thanks a lot
: : : : : : : : Rohit
: : : : : : : :
: : : : : : : :
: : : : : : : :
: : : : : : : :
: : : : : : :
: : : : : : : If someone is using a router or other firewall that blocks echo requests then it is not possible to ping their machine.
: : : : : : :
: : : : : : : The firewall needs to be configured to accept echo requests.
: : : : : : :
: : : : : : :
: : : : : : : To understand recursive, first you need to understand recursive
: : : : : : :
: : : : : : :
: : : : : : Thanks a lot. I keep getting a message "request timed out". Is this because of a firewall, and if there is some other reason then please tell me about it.
: : : : : : Thanks a lot
: : : : : : Rohit
: : : : : :
: : : : :
: : : : :
: : : : : Most likely a firewall.
: : : : : To understand recursive, first you need to understand recursive
: : : :
: : : : : Actually I have made a simple program using winsock to send a message from one computer to another. The client sends a message and the server recieves it and displays it using a messagebox. My friends keep telling me that supplying the IP address is not enough as there are other issues such as subnets and gateways. But dosen't the socket interface take care of all this I ask this because there are no functions in sockets that take parameters such as subnet mask's and gateways etc. Any help would be gladly accepted
: : : : Thanks
: : : : Rohit
: : : : :
: : : :
: : : :
: : :
: : :
: : : Right, all you need to supply is an IP address and a port number.
: : :
: : : If the receiving machine (the server) has a router/firewall, it needs to have the port open that you wish to use to listen for connection attempts from the client.
: : :
: : :
: : : To understand recursive, first you need to understand recursive
: : :
: : :So I was right all the way, thanks a lot and one more question is there a way to programmatically configure the firewall or router so that it lets packets of that are coming through my port pass through or will I have to manually configure the firewall or the router or are there some ports that are considered safe or are checked and if the packets are innocent enough they allow them to pass thrrough.
: : Thanks a lot
: : Rohit
: :
: :
:
:
:
: Nope, there is no router config 'API' since all firewalls/routers are different and use their own interface, so you'll have to manually configure it.
:
: Some firewall programs will alert you when a program is trying to access the outside world through some port and make it easy for you to allow it, but with most of them you are stuck doing your own port-forwarding.
:
:
: To understand recursive, first you need to understand recursive
:
: But I had read that all messengers such as yahoo and msn are built using soket programming. Then how do they get past this firewall problem cause they would be operating like this only.
Rohit