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?
Printable View
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?
Can I get the source i've been trying to make my own little chat program. I've made it connect through 2 computers but the server is tricky.
I understand if ya don't want to but if you do I'ld greatly appreciate it!
if you are want to connect trought a proxy, you must map the port on the proxy =)
btw: don't use the winsock ocx for a chat programm... (because of its restrictions)
No the winsock control is working fine for me, the chat program works perfect and has no errors as long as i don't try to connect to a computer on a LAN. I don't know how to map a proxy. Can you be more specific please?
Can anyone please help?
ok. but first some questions:
1. Where is the chat server located ? (in you're own lan, on the inet..)
2. Which port use the winsock control to comunicate with the clients ?
The chat system consists of 2 programs, 1 is the Server which listens to a port and the client request a connecting to the port on the servers IP and they connect and send data back and forth like that. Later on i might make a big chat server which changes ports so more than 2 people can chat. How else an i connect 2 computers? without the winsock control?
Edited by Bad5887 on 02-29-2000 at 06:12 PM
if only 2 people can chat at this time, you don't need client/server. i will send you a sample chat server (+ client) which allows to connect up to 49 "chatters" =)
(be patient... first i must translate the example prog from german to english *g*)
i send it during the day.....
taLON
*can you please ANSWER MY QUESTION and not give me/ask me different/extra info? I dont need an example i KNOW how to make it work with more than 2 comps but i need to know how to go through a network, it can connect through 2 dial up connectionss but not through a network. how else would i connect them with oout the winsock control?
well anyone?