This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSIDK437X: I need data type check operators.

Part Number: TMDSIDK437X

Hello.

Could you tell me what are the standard methods of GNU for checking data types have? For example: I receive UDP packet and i unknow what data is?

i = (int)recvncfrom( s, (void **)&pBuf, 0,(struct sockaddr *)&sin1, &tmp, &hBuffer );

I want to check each member element - it is a character, or integer, or double ...

For example in Microsoft VS it maybe use operator 'is'.

int i = 23;

object iBoxed = i;

int ? jNullable = 7;

if (iBoxed is int a && jNullable is int b) {

   Console.WriteLine(a + b); // output 30

}

Is there anything similar in GNU? 

Can you tell me other methods how to do it quickly?

Regards, Dmitry.