If am connected to the internet and start the programm SockListener the text in the border is 'Server 192.168.0.1' and not the IP-adress of my computer in the running internet-connection. 'Server 192.168.0.1' is the adress of my computer in the LAN.
What I have to do ?
The computer is running with Windows XP Prefessional.
M.Wittmann has rectified client code
by not making client have fixed port.
This works well.
I have another problem:
I changed the code, kept a "listen" & "Restart" buttons
in the server.
I have also created server socket object dynamically.
when i press restart i closed the current object, and
but, when i again create the server object dynamically
and made it "Listen". but it is not responding to any
Things worked great when I just had the message popping up with a call to "AfxMessageBox", but when I tried adding it to a listbox using "CListBox::InsertString", I get Unhandled Exception 0xC0000005: Access Violation...
If I add a string to the same listbox member variable from a different method in the same class, there's no problem, and this is almost identical to what is being done in the Listener App with no problems; I'm stumped. Am I doing something wrong, or is this a bug?
Is there any special consideration if any of the machines
(client or server) is behind a proxy server??? For example,
if my computer is served by a ADSL router with an static
IP (so what you can see from inet is my router and not my
Hi to all,
I need an application like that, that can work through the internet.
the listener will be located on a server and the commander on a regular pc. both are connected to the internet.
does this application work on the net?
Thanks for the attention...