Re: Problems with TCP Listener
- From: "Steven Nagy" <learndotnet@xxxxxxxxxxx>
- Date: 28 Mar 2006 19:33:37 -0800
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).
.
- References:
- Problems with TCP Listener
- From: Jerry Spence1
- Problems with TCP Listener
- Prev by Date: Re: DataBinding and Combo Boxes
- Next by Date: Re: Auto-stop DUN via VB.Net?
- Previous by thread: Problems with TCP Listener
- Next by thread: Re: Problems with TCP Listener
- Index(es):
Relevant Pages
|