NNclose

Description
³×Å©¿öÅ© ¿¬°áÀ» ²÷´Â´Ù.

Syntax
S32 NNclose(S32 conno)

Parameters
conno NNopen()¿¡¼­ ¹ÝȯµÇ¾ú´ø ³×Æ®¿öÅ© ¿¬°á ¹øÈ£

Returns
0¼º°øÀûÀ¸·Î ¼öÇà
EBADFÀ߸øµÈ ³×Æ®¿öÅ© ¿¬°á ¹øÈ£
ECONNABORTEDÇÁ·ÎÅäÄÝ ¿¡·¯

Comments
ÀÀ¿ëÇÁ·Î±×·¥¿¡¼­´Â NNclose¸¦ ÇÑ ¹ø È£ÃâÇÑ ÈÄ¿¡ ´Ù½Ã È£ÃâÇؼ­´Â ¾ÈµÈ´Ù. ¾î¶² °æ¿ì¿¡´Â ¿¬°á ºí·ÏÀ» ÇØÁ¦Çϴµ¥ ¾ó¸¶°£ÀÇ ½Ã°£ÀÌ °É¸®´Â °æ¿ìµµ ÀÖÁö¸¸ ±×·± °æ¿ì¿¡¶óµµ ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼­´Â ³×Æ®¿öÅ© ¿¬°áÀÌ ²÷¾îÁø ÈÄ¿¡ ³×Æ®¿öÅ© ¿¬°á ¹øÈ£¸¦ ÀÌ¿ëÇØ ´Ù¸¥ ÀÛ¾÷À» Çؼ­´Â ¾È µÈ´Ù.

See Also
NNopen, NNread, NNwrite

Example
/* close the connection. */
S32 conno;
S32 error;
error = NNclose(conno);
if ( error < 0 )
   /* process error */