L
Luca Di Cerneglons
Hi!
I use a socket to communicate with a print server from my ppc:
Dim skt As New
Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp)
Dim EP As New IPEndPoint(IPAddress.Parse("192.168.0.101"), 9100)
skt.Connect(EP)
It works well, but using the same syntax (changing IP and port!) to
communicate with a TcpListener on my PC I recieve an error:
"the machine actively refused it"
I tried also with a TcpClient, cutting and pasting the MSDN example,
but the error is the same...
I turned off any firewall on my PC but the error is still there!
Any idea?
Thanks in advice!
I use a socket to communicate with a print server from my ppc:
Dim skt As New
Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp)
Dim EP As New IPEndPoint(IPAddress.Parse("192.168.0.101"), 9100)
skt.Connect(EP)
It works well, but using the same syntax (changing IP and port!) to
communicate with a TcpListener on my PC I recieve an error:
"the machine actively refused it"
I tried also with a TcpClient, cutting and pasting the MSDN example,
but the error is the same...
I turned off any firewall on my PC but the error is still there!
Any idea?
Thanks in advice!