Hi I'm created a socket listening on port 1234 (it is shown that this post
is in listening mode if I use NETSTAT). Now Iam trying to connect to this
port:
IPHostEntry entry = Dns.Resolve("lo calhost");
serverConn = new Socket(entry.Ad dressList[0].AddressFamily,
SocketType.Stre am, ProtocolType.Tc p);
IPEndPoint endpoint = new IPEndPoint(entr y.AddressList[0], 1234);
serverConn.Conn ect(endpoint);
But I get a SocketException that the remotecomputer has denied the
connection request. What could be the cause of this? Both apps running local
and I have no firewall (Win2K).
I tried Accept() in blocking and nonblocking mode on the server but neither
worked.
--
cody
Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk
is in listening mode if I use NETSTAT). Now Iam trying to connect to this
port:
IPHostEntry entry = Dns.Resolve("lo calhost");
serverConn = new Socket(entry.Ad dressList[0].AddressFamily,
SocketType.Stre am, ProtocolType.Tc p);
IPEndPoint endpoint = new IPEndPoint(entr y.AddressList[0], 1234);
serverConn.Conn ect(endpoint);
But I get a SocketException that the remotecomputer has denied the
connection request. What could be the cause of this? Both apps running local
and I have no firewall (Win2K).
I tried Accept() in blocking and nonblocking mode on the server but neither
worked.
--
cody
Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk
Comment