My problem is so simple I'm embarrassed to ask. No doubt it's
completely my fault. I'm struggling with ICS because the software
comes with no 'user guide', no short examples, and even finding
examples on the internet less than 1000 lines of code is hard.
Despite those shortcomings I'm still very impressed with ICS and I
want to thank Francois for it.
Advertising
Here's my problem: I just want to test if a server on my network is
running. So I essentially want to test if the server is responding to
a specific port, which is 709. So I write the following code: (not
sure if this fragment is enough, but it may be)
socket709.port:='709';
socket709.address:='127.0.0.1'; // for now my own IP is enough to
test with
socket709.connect;
socket709.sendstr(#13);
but this always generates an exception from ICS. No matter what I do
I can't make it work. I've been testing it using port 80 on known web
servers and that also fails.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be