TcpClient Problem



I have a VB.NET 2003 application that has been running successfully on a
device running CE.NET 4.2. I have recently been supplied with the latest
version of the device, which runs CE.NET 5, and also has a different WiFi
adapter to my original version. The application connects to a desktop PC
using a TcpClient as follows:-

Private client as TcpClient
client = New TcpClient(IPAddress, PORT_NUM)

where IPAddress is 192.169.1.10 (the address of the host PC) and PORT_NUM is
a constant - the number of the port I want to use for the connection (10000
in this case). The application on the host PC has a listener object waiting
for a connection on the same port number. On the CE 4.2 device it works
fine, on the new one I get the error message 'No such host is known' after a
few seconds (on the New TcpClient line above). Is this likely to be a CE
problem or a WiFi adapter problem (or something else), and what can I do
about it? Thanks in advance.

Andy Baker


.



Relevant Pages

  • Re: TcpClient Problem
    ... Paul T. ... can ping the host PC from the device successfully using the same IP ... address as I am using in the TcpClient I have checked the wireless ... listener object waiting for a connection on the same port number. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: TcpClient Problem
    ... Paul T. ... can ping the host PC from the device successfully using the same IP ... address as I am using in the TcpClient I have checked the wireless ... the connection. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: TcpClient Problem
    ... ping the host PC from the device successfully using the same IP address as I ... am using in the TcpClient I have checked the wireless configuration settings ... adapter to my original version. ... object waiting for a connection on the same port number. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: TcpClient Problem
    ... I've never been able to get any of my devices to interpret a string ... can ping the host PC from the device successfully using the same IP ... address as I am using in the TcpClient I have checked the wireless ... the connection. ...
    (microsoft.public.dotnet.framework.compactframework)
  • understanding chkrootkit: sshd section
    ... Rhosts Authentication disabled, originating port will not be trusted. ... Secure connection to %.100s on port %hu refused%.100s. ... Warning: Remote host refused compression. ... Received RSA challenge from server. ...
    (comp.os.linux.security)