You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
I was using was the EchoServ and EClient samples in Samples/Internet folder.
I tried the pre-compiled samples and I tried compiling the supplied source code. No changes were made to the sample source code.
i guess powerbasic will not object to having the exe's to the windows version of the echo server and client here so people can test to verify these programs can work on their machines when having problems with their own code in case there where errors placed in the code by accident.
i have programs in place that will block these programs from running properly and these examples could be used to see if there is something blocking on others computers. it is very frustrating to have something blocking a program for performing some duty and then you keep spending much time in the source code looking for a problem that does not exist.
the tcp programs are echserv and eclient and a whois in gui format using pbwin.
Many thanks for your responses. Unfortunately, I still can't get it to work.
This may have somsthing to do with the fact my PC is connected to a network. I'll try these samples on my personal PC which is not connected to a network.
If using a router, check router software that port 999 is being sent to your local machine 192.168.0.2, etc...
If using ZoneAlarm, check if port 999 is being blocked.
Last resort if the registry is corrupted:
Walter
Whilst 999 has been used by a few viruses no good virus control should stop the program, (easy to check just change the port number to say 10000 on both server and client). More likely a firewall setting, if you are using XP Pro for the server and using default network settings ie firewall on, then the first time you ran the server XP should have given you a message that it was blocking some features of the program and given you the option to unblock.
To be more specific about error 57 from the client. It means that the client was unable to find the server in the timeout period. Error 24 (timeout) only occurs if a connection has been made to the server but a later response times out.
If you are on a LAN then your ADSL router will not need to port forward and depending on exactly how your LAN is set up using the computer name of the server may not work so the safest test is using the full server dotted IP address ie 192.168.1.2. If you are using DHCP from a router (standard DSL box) then just go to command prompt and run IPCONFIG /all which will tell you all you need.
John
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment