»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

¼ÒÄÏ Åë½Å ±Ã±àÇÑÁ¡3

  • ¸²Àå»ç
  • µî·ÏÀÏ 2016-01-19 12:31
  • Á¶È¸¼ö 652

SOCKET ListenSocket;
struct sockaddr_in saServer;
hostent* localHost;
char* localIP;

saServer.sin_family = AF_INET;
saServer.sin_addr.s_addr = inet_addr(localIP);
saServer.sin_port = htons(5150);

Áú¹®
sockaddr_in ÀÌ º¯¼öÀÇ _inÀº ¹«½¼ ¾à¾îÀϱî¿ä?
sin_port ¼Ó¼ºÀÇ sinÀº ¹«½¼ ¾à¾îÀϱî¿ä?

Àß¸ð¸£°Ú³×¿ä ¤Ð

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 [* ºñȸ¿ø *]

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 ¸²Àå»ç

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 viper9
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û ¸ñ·Ïº¸±â