File descriptors..

From: Bigdakine (bigdakine_at_aol.comGetaGrip)
Date: 10/26/04


Date: 26 Oct 2004 02:50:17 GMT


Silly question probably..

  But if I have two variables containing the value of a file descripter, like
say that returned by a socket command, what is the best way to compare them if
to see if they refer to the same descriptor?

 I know the descriptors are expressed as strings, so I'm expecting that string
compare should be used..

Or is this not entirely safe for some reason?

Thanks in advance,

Stuart