One notable addition: unlike pascal C++ is case sensitive. So you need to match variable and function identifiers exactly which is not the case with pascal code usually. For example:
procedure SetVariable(variable: boolean); can be called in pascal as setvariable(variable); and this is legal but not in C++. Regards, SZ ----- Original Message ----- From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Sunday, February 12, 2006 9:23 AM Subject: Re: [twsocket] Fast Pings ! -> C++ :-( >> I've seen in the usermade. But the code is in Delphi, > > There is not much differences between Delphi and CPP code ! > Do all those replaces: > > = == > := = > . -> > begin { > end } > and && > or || > then <blank> > integer int > string ansistring > boolean bool > > After those changes you mostly have CPP code. > A procedure is a function returning nothing. > > -- > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > > ----- Original Message ----- > From: "Enrique" <[EMAIL PROTECTED]> > To: <twsocket@elists.org> > Sent: Saturday, February 11, 2006 9:02 PM > Subject: Re: [twsocket] Fast Pings ! -> C++ :-( > > >> I've seen in the usermade. But the code is in Delphi, I don't know much >> about Delphi, and I don't know much about multithreading too :-( >> Anyway, are components or only samples the files on the usermade page? >> I think that what I need to do is very simple. Perhaps somebody can help >> with a C++ code sample or some tip, because i'm "blind" :-( >> It's similar to an IP Scanner. I need to check if some remote IP has been >> taken or not from my own ISP (I have dynamic IP and I want to connect >> with >> a >> specific IP, but, before, I must check if that IP is available). So, >> sometimes I must check very much IPs (perhaps 255 if I need to connect >> with >> something like 1.2.3.x), and I need to do this as quickly as possible. >> >> Thanks ! >> enri. >> >> -- >> 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 > > -- > 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 -- 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