Re: Problems with TCP Listener



localhost, or loopback, should probably be 127.0.0.1
But if you have a local network then just use their IPs, such as your
192.168.0.2 example.

I think you might be using examples for VS2003 in VS2005?
In your code you have declared two Listeners, but you should only have
1 listener per port/ip address.
Have it sit in an infinate loop calling AcceptSocket (well, thats in
VS2003, not sure about 2005).

Also, make sure you have your PC firewall configured to allow that port
through, on BOTH machines.
This could be your headache (windows firewall by default will be
blocking this port).

.



Relevant Pages

  • Re: Wanting to place my hosted web on my server
    ... Or My son is on that network where the server ... >> the router setup page. ... From outside the local network there may be some ... >> one with port 80 open. ...
    (microsoft.public.windows.server.dns)
  • RE: ICMP (Ping)
    ... Why do you assume that out of millions of Ips that respond, ... > almost) running a port scan those that reply. ... replies from a ping request. ... IP ranges with no target in mind, ...
    (Security-Basics)
  • RE: IPS and Trunking
    ... Cisco does offer an "IPS on a stick" feature and is what the OP is ... You create another vlan on the switch. ... You convert one of the ports to a trunk port and plug the IPS ...
    (Focus-IDS)
  • Re: Port Scanning
    ... Most IPS admins do not block port scans. ... > essentially adding rules that the attacker has ... > customer works primarily with a particular remote ...
    (Pen-Test)
  • Re: Port watching tool
    ... Active Ports only shows one connection to port 25 (which I am trying to ... I am finding certain IPs to be ... generating large numbers of SMTP connections to the server, ... Symantec is the Diamond sponsor. ...
    (Security-Basics)