Results 1 to 16 of 16

Thread: Connection Timed Out

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Connection Timed Out

    Is that your class module did you write that?

    I cant get through all the code and since i am not familiar with that class i cant help much, why dont you write this yourself rather than using that class? if your new to winsock then this isnt a great way to start that class can be very confusing :???:

    Pino

  2. #2

    Thread Starter
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Re: Connection Timed Out

    No, I didn't write it, it came with a tutorial. It works fine when both client and server are on the same computer but you move one to a different IP and I can't get a connection. As much as I'd like to start out with winsock I can't as i'm on vb learning. If you assume that the code works exactly as the winsock control, is there anything wrong with the code that would mess with a connection? Thanks.

  3. #3
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Connection Timed Out

    Quote Originally Posted by Nove
    No, I didn't write it, it came with a tutorial. It works fine when both client and server are on the same computer but you move one to a different IP and I can't get a connection. As much as I'd like to start out with winsock I can't as i'm on vb learning. If you assume that the code works exactly as the winsock control, is there anything wrong with the code that would mess with a connection? Thanks.
    Arr ok I see, because I dont know this class and with work for colege etc piling up I dont have much time to go through it.

    Since you have the l;earners edition have you considered looking at the Winsock API?
    Have a look at the link below

    http://winsockvb.com/index.php?cat_id=4

    Pino

  4. #4
    Member
    Join Date
    Feb 2005
    Location
    Usa Nyc
    Posts
    45

    Re: Connection Timed Out

    If you are on a lan then i can't see what the problem is.. But if your connected to the internet and trying to connect to another computer i don't think thats a valid IP is the working one. If your on a router your IP is hidden. I'm on a wireless router so if i use cmd->ipconfig the internet protocol isn't the real ip.
    Try this site. http://www.whatismyip.com/
    If your on a proxy that wont work. Another thing that could stop a computer from connecting to you/connecting to another computer is a firewall software.
    Kiss, Aerosmith, Black Sabbath, Nazareth, Judas Priest, Status Quo, Cinderella, Scorpions, Tool, SteppenWolf.

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