|
-
Feb 27th, 2000, 08:18 AM
#1
Thread Starter
Lively Member
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?
-
Feb 28th, 2000, 06:35 AM
#2
Thread Starter
Lively Member
-
Feb 28th, 2000, 06:14 PM
#3
please do not crosspost =)
-
Mar 3rd, 2000, 08:09 AM
#4
Thread Starter
Lively Member
Well the other forum doesnt seem to be working
-
Mar 3rd, 2000, 10:29 AM
#5
Lively Member
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
-
Mar 3rd, 2000, 04:58 PM
#6
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|