Results 1 to 3 of 3

Thread: [RESOLVED] [2008] server/client TCP, help!

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    Resolved [RESOLVED] [2008] server/client TCP, help!

    hey guys,
    Alright so I went to the codebank and used the basic TCP communication.

    It dosnt work . WHen I click listen on my computer and then go up to my laptop which is connected to a DIFFERENT NETWORK ( i am stealing my neighbours wireless hehe) it dosnt connect.

    The error message says:
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.12.133.107:664
    My understanding is that IT DOES CONNECT but my server has problems. Anyway read on to what I think might be causing a problem.

    I think the problem might lie here:
    Code:
    listener = New System.Net.Sockets.TcpListener(System.Net.IPAddress.Any, CInt(txtPort.Text)) 'The TcpListener will listen for incoming connections at port 43001
    MSDN Says

    Create a TcpListener using an IPEndPoint, a Local IP address and port number, or just a port number. Specify Any for the local IP address
    But none of this is local. Its over the internet.

    Secondaly I think you guys should know this, ( i dont know if all the modems do this)

    but my highspeed modem gives me a "local" IP. when i do ipconfig it gives me a 192.168.2.1. When I plug this in in to IE, i get a web based modem configuration thing which shows my REAL IP.

    could that be a problem?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width