Hi,
Yes I run a few examples before using the components. My current application has actually a few sockets. I have a ping component checking if devices are online/offline. This is in its own thread. I have two sockets one for sending and one for receiving working in a separate module with their own thread. The socket that I have problems with is running in a separate thread I added a testing code after assigning the Port and Addr, Something like this: if((Socket->Addr == NULL) || (Socket->Port == 0)) { And that was before even calling Connect... Once in a few run's I got one of the above 0 or even both ? I am sure that I am writing the port and IP values. BR, noam. -----Original Message----- From: TWSocket on behalf of François Piette Sent: Tue 1/28/2014 11:00 PM To: 'ICS support mailing' Subject: Re: [twsocket] TWSocket strange problem > I may have a problem in my code but this is a bit strange ? Have you tested with one of the supplied samples ? -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be http://francois-piette.blogspot.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be