Results 1 to 6 of 6

Thread: Problem with the winsock control and networks

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    64

    Post

    Im making a chat program but i cant get the client to connect to the server if it is on a Network with a proxy server, can anyone please help me?

  2. #2

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    64

    Post

    Can anyone please help?

  3. #3
    Guest

    Post

    please do not crosspost =)

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    64

    Post

    Well the other forum doesnt seem to be working

  5. #5
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Bad,

    In regards to a network and a proxy you can't just bypass it. Sounds like you are in a firewall'ed LAN and only have external access via a proxy. Heres the solution and problem you are looking at...

    a). HTTP Proxy

    You will NOT be able to use your chat program or any other winsock program via the HTTP program due to the nature of the HTTP Proxy.

    b). SOCKS Proxy

    This is what you need and this WILL work. You will need to bounce through the SOCKS (usually on port 1080) and then bounce via the proxy to the chat server, not easy work, but can be done, you'll need some info from your network admin about the type of SOCKS you are using, if it needs authentication and if you are allowed to bounce through it. I would NOT recommend just conencting through as it may raise a few alarms for your admin.

    If you can find out the information above, come and post it back and we can try and work on a solution for your problem.

    Cheers
    Regards,

    Paul Rivoli
    ---------------------
    [email protected]
    http://members.dingoblue.net.au/~privoli

  6. #6
    New Member
    Join Date
    Mar 2000
    Location
    Hvalstad, Norway
    Posts
    4

    Post These people smoke crack

    Just thought I'd get your attention. Well, I also am experiencing this problem. First thing you should do is get my SevivasDetect from activex dot com. This is an activex control that i developed which detects an internet connection and tells you whether its a dial up connection, Proxied, or LAN.. If you detect a proxy, then you should make that client start the connection to the other client, because machines behind a proxy can connect to other machines cause those connections are trusted. The only time you will experience a problem is when to computers are behind a proxy and not on the same network. So there are 3 scenarios when you can establish a connection through a proxy and only one scenario when you have to program through the proxy. I dont know how to program through the proxy and i have posted my own question about this if you look above. But I have been able to avoid this problem in most situations. Only time i have a problem is when 2 users are behind different proxies.

    ComputerA |PROXY|-----> ComputerB Connect! *1 proxy
    ComputerA -----> ComputerB Connect! *No proxy
    (ComputerA -----> ComputerB) |PROXY| Connect! *same proxy

    ComputerA |PROXY|-----> |PROXY|ComputerB NO CONNECTION!

    I know its not the answer you've been looking for, but I also have been looking for the answer with no luck. I thought i should post something since u and i are stuck at the exact same place.


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