HI All.
I am writing a Server app. that will be bound to 0ne IP but many ports.
I decided to use the ApdWinsockPort as I can swtich between coms or winsock at the change of a property value, and my code for processing the incoming data remains the same, which is a bonus.
 
BUT, I have now discovered a flaw in the code, where if you have say 2 ApdWinsockPort's both bound tot the same IP and port, it will still report that the port is open, and not raise an error !
Now, I took one look at the code and went....ok...maybe I need something else. Its pretty messy in there, and it all gets lost is pseudo referrences to comports ..agh...ucky.
 
So, like a good Delphi developer, I thought, well, everyone uses Indy, so should I, I guess.
 
I took a look at the Indy server demos, but really, they are quite, well, not very clear if all you want to do is have a simple server that receives data.
 
Could someone send me a wee sample or sample app that will do just that? Receive data and not try to do anything with it etc?
 
Unless someone knows of a work around for the ApdWinsockPort issue.
 
 
Thanks, Jeremy
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to