<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>HI
All.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>I am writing a
Server app. that will be bound to 0ne IP but many ports.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>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 ! </FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>So, like a good
Delphi developer, I thought, well, everyone uses Indy, so should I, I
guess.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>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?</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>Unless someone knows
of a work around for the ApdWinsockPort issue.</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial size=2>Thanks,
Jeremy</FONT></SPAN></DIV>
<DIV><SPAN class=015374819-31082005><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>