Hi NG,
what is wrong with the following code?
Sender and Revceiver are of the Type IPEndPoint.
//=================
bool IsEqual = tlg.Receiver.Equals(aTlg.Sender);
if(tlg.Receiver.Address == aTlg.Sender.Address)
{
if(tlg.Receiver.Port == aTlg.Sender.Port)
{
}
}
//=================
I have the situation, where IsEqual is true, but the first if - block is
never entered. Why ist that?
If I look at tlg.Reciever.Address, the debugger shows me the same value as
with aTlg.Sender.Address!
What is it that I miss here?
Thanks for hep and hints.
Rainer