½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > C > C ¼Ò½ºÃ¢°í > À¥´ëÈ­¹æ > Edge chatting 0.96 - c++ ¹öÀü »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
Edge chatting 0.96 - c++ ¹öÀü
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù À¥´ëÈ­¹æ
´Ù¿î·Îµå Ƚ¼ö 935 ȸ
°£´Ü¼³¸í Select ½Ã½ºÅÛ ÄÝÀ» »ç¿ëÇÏ´Â ºñµ¿±â ¼ÒÄÏ ¹æ½ÄÀÇ Ã¤Æü­¹ö Edge chatting 0.96ÀÇ c++ ¹öÀüÀÔ´Ï´Ù. Perl ¹öÀüÀº http://www.happycgi.com/detail.cgi?number=7775 ¿¡¼­ È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù. ±â´ÉÀº µ¿ÀÏÇÕ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â°¡ ¾ø½À´Ï´Ù ½ºÅ©·¦Çϱâ
-------------------------------------------------------
Edge chatting ver 0.96 ¸Å´º¾ó

ÇÁ·Î±×·¡¸Ó: ÀÌÁøÈñ
ȨÆäÀÌÁö: www.jinyedge.pe.kr
E-Mail: jinyedge@abstek.com

*ÀÌ ¹®¼­ÀÇ ÀÛ¼ºÀÏÀº 2003/05/15ÀÌ°í ÀÌ ¹®¼­³»¿¡¼­ ¸»ÇÏ´Â ``ÇöÀç``´Â
2003/05/15À» ¸»ÇÕ´Ï´Ù.

-------------------------------------------------------
1. °³¿ä

Edge chattingÀº Select ½Ã½ºÅÛ ÄÝÀ» »ç¿ëÇÏ´Â ºñµ¿±â ¼ÒÄÏ ¹æ½ÄÀÇ
äÆü­¹öÀÔ´Ï´Ù. Edge chattingÀº ±âº»ÀûÀ¸·Î °ú°Å ÅÚ³Ý È¯°æÀÇ ´ë
È­¹æÀ» Èä³»³½ ÇÁ·Î±×·¥À¸·Î Ãâ¹ßÀ» ÇßÀ¸¸ç µû¶ó¼­ À¥±â¹ÝÀÇ ´ëÈ­¹æ
ÀÓ¿¡µµ ÇöÀçÀÇ ´Ù¸¥ À¥±â¹Ý ´ëÈ­¹æ¿¡ ºñÇؼ­ »ç¿ëÀÌ Æí¸®ÇÏÁö ¾Ê½À
´Ï´Ù.

ÇöÀç·Î¼­ Edge chatting 0.96ÀÌÇÏÀÇ ¹öÀüÀº °ø°³ ÇÁ·Î±×·¥ÀÌ¸ç ºñ»ó¾÷
Àû ¿ëµµ¿¡ ÇÑÇؼ­ ÀÚÀ¯·Ó°Ô »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ´Ü Á¦ÀÛÀÚ´Â ÀÌ ÇÁ·Î
±×·¥À¸·Î ¹ß»ýÇÒ ¼ö ÀÖ´Â ¸ðµç ¼Õ½Ç¿¡ ´ëÇÏ¿© ¾Æ¹«·± Ã¥ÀÓÀ» ÁöÁö ¾Ê½À
´Ï´Ù.

Edge chattingÀÇ ¼­¹ö´Â ¸ÕÀú Perl·Î ¸¸µé¾îÁ³À¸¸ç ÀÌÈÄ¿¡ C++·Î Æ÷
ÆõǾú½À´Ï´Ù. Perl ¹öÀüÀÇ °æ¿ì´Â À©µµ¿ìÁî¿Í ¸®´ª½º ȯ°æ¿¡¼­ µ¿ÀÛ
Çϸç C++ ¹öÀüÀÇ °æ¿ì´Â ÇöÀç·Î¼­´Â ¸®´ª½º ¹öÀü¸¸ÀÌ ÀÖ½À´Ï´Ù. ÀÌÀü
¿¡ Á¦°øµÇ´ø À©µµ¿ìÁî C++ ¹öÀüÀº ´õ ÀÌ»ó Á¦°øµÇÁö ¾Ê½À´Ï´Ù. ±×¸®
°í Ŭ¶óÀ̾ðÆ®ÀÇ °æ¿ì´Â ÇöÀç·Î¼­´Â ÀÚ¹Ù ¾ÖÇø´ÀÇ ÇüÅ·θ¸ Á¦°øÀÌ
µË´Ï´Ù.

Edge chattingÀÇ ±â´ÉÀ» Å×½ºÆ®ÇØ º¼ ¼ö ÀÖ´Â µ¥¸ð »çÀÌÆ®ÀÇ ÁÖ¼Ò´Â
´ÙÀ½°ú °°½À´Ï´Ù.

http://www.jinyedge.pe.kr


-------------------------------------------------------
2. ¼­¹öÀÇ ½ÇÇà

´ÙÀ½Àº °¢ ¹öÀüº° ¼­¹öÀÇ ½ÇÇà ¹æ¹ýÀÔ´Ï´Ù. À̶§ ȯ°æº¯¼ö¸¦ º¯°æÇÏÁö
¾ÊÀº »óÅ¿¡¼­ ½ÇÇàÀ» ÇÏ´Â °æ¿ì´Â ¼­¹öÁÖ¼Ò´Â ÇöÀç ¼­¹öÀÇ ¸ðµç ÁÖ
¼Ò¸¦ »ç¿ëÇϸç Æ÷Æ®´Â 8040¹øÀ» »ç¿ëÇÕ´Ï´Ù.

- Perl ¹öÀüÀÇ °æ¿ì
Perl ¹öÀüÀÇ °æ¿ì´Â main.plÀ» ½ÇÇàÇÏ´Â °Í¸¸À¸·Î ¼­¹ö¸¦ ½ÃÀÛÇÒ ¼ö ÀÖ
½À´Ï´Ù. À©µµ¿ìÁî ȯ°æÀ̶ó¸é ¾×Ƽºê½ºÅ×ÀÌÆ®ÀÇ Perl ÀÎÅÍÇÁ¸®Å͸¦ ¼³
Ä¡ÇÏ°í mail.pl À» ½ÇÇàÇÕ´Ï´Ù. ±×¸®°í ¸®´ª½º ȯ°æÀ̶ó¸é main.pl ¿¡
½ÇÇà ±ÇÇÑÀ» ÁÖ°í¼­ ´Ù½Ã main.pl À» ½ÇÇàÇÕ´Ï´Ù.

- C++ ¹öÀüÀÇ °æ¿ì
C++ ¹öÀüÀÇ °æ¿ì´Â ¸®´ª½º ȯ°æ¿¡¼­¸¸ ÀÛµ¿ÇÕ´Ï´Ù. ¸ÕÀú ¾ÐÃàµÈ ÆÄÀÏ
À» Ç®°í make ¸í·ÉÀ» ¼öÇàÇÏ¿© ÄÄÆÄÀÏÀ» ÇÕ´Ï´Ù. ±×¸®°í ¸¸µé¾îÁø
main À» ½ÇÇàÇÕ´Ï´Ù.


-------------------------------------------------------
3. Ŭ¶óÀ̾ðÆ®ÀÇ ½ÇÇà

Edge chattingÀÇ Å¬¶óÀ̾ðÆ® ÇÁ·Î±×·¥Àº ÀÚ¹Ù ¾ÖÇø´ÀÇ ÇüÅ·ΠÁ¦°ø
µË´Ï´Ù. µû¶ó¼­ Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥ÀÇ ½ÇÇà¿¡´Â À¥¼­¹ö°¡ ÇÊ¿äÇÕ´Ï
´Ù.

Edge chatting Ŭ¶óÀ̾ðÆ®¸¦ ½ÇÇàÇÏ·Á¸é applet Æú´õ Àüü¸¦ À¥¼­¹ö¸¦
ÅëÇؼ­ Á¢±ÙÀÌ °¡´ÉÇÑ Æú´õ·Î º¹»çÇϽʽÿÀ. ±×¸®°í client.html ¶Ç
´Â edge_chatting.htmlÀ» ºê¶ó¿ìÀú¿¡¼­ ½ÇÇàÇϽʽÿÀ. À̶§ Á¢¼ÓÁÖ¼Ò¿Í
Æ÷Æ®ÀÇ ±âº»°ªÀº °¢°¢ 127.0.0.1°ú 8040ÀÔ´Ï´Ù. ÀÌ Á¢¼ÓÁ¤º¸¸¦ ¼öÁ¤ÇÏ·Á
¸é edge_chatting.htmlÀ» ÆíÁýÇϽʽÿÀ. param ű×ÀÇ server_addr,
server_portÀÇ °ªÀ» °¢°¢ ¿øÇÏ´Â ¼­¹öÁÖ¼Ò¿Í Æ÷Æ®·Î º¯°æÇÏ½Ã¸é µË´Ï´Ù.

ex1) ±âº»°ªÀ¸·Î ½ÇÇàÀ» ÇÏ´Â °æ¿ì´Â http://127.0.0.1/applet/client.html
À» ºê¶ó¿ìÀúÀÇ ÁÖ¼Òâ¿¡ ÀÔ·ÂÇÏ°í ½ÇÇàÇÕ´Ï´Ù.

ex2) ¸¸¾à ÀÚ½ÅÀÇ À¥¼­¹öÀÇ ÁÖ¼Ò°¡ http://www.jinyedge.pe.kr ÀÌ°í
À¥¼­¹öÀÇ ·çÆ® Æú´õ ÀÌÇÏ¿¡ applet Æú´õ¸¦ º¹»çÇÑ °æ¿ì¶ó¸é
http://www.jinyedge.pe.kr/applet/client.html À» ½ÇÇàÇÕ´Ï´Ù. À̶§ Edge
chattingÀÇ ¼­¹ö´Â À¥¼­¹ö¿Í µ¿ÀÏÇÑ ¼­¹ö¿¡¼­ ½ÇÇà ÁßÀ̾î¾ß ÇÕ´Ï´Ù.


-------------------------------------------------------
4. ȯ°æº¯¼öÀÇ º¯°æ

- Perl ¼­¹öÀÇ °æ¿ì
Option.pm¿¡ ÀÖ´Â ´ÙÀ½ÀÇ Ç׸ñÀ» ¼öÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.

my $server_name = "Jinyedge chatting server";
my $lang = "ko"; #en = english, ko = korean
my $addr = ""; #default = all addresses
my $port = 8040;
my $r_limit = 20; #limit of room
my $g_limit = 200; #limit of connection
my $tap = 1; #if you want to know what they are talking set this flag as 1.
my $log = 1; #write log file = 1, don``t write log file = 0

$server_name: ¼­¹öÀÇ À̸§ÀÔ´Ï´Ù.

$lang: ¾ð¾î¸¦ ¼±ÅÃÇÕ´Ï´Ù. Çѱ¹¾î¿Í ¿µ¾î·Î ¼­¹öÀÇ ¸Þ½ÃÁö¸¦ Ãâ·ÂÇÒ
¼ö ÀÖ½À´Ï´Ù. ko´Â Çѱ¹¾îÀÌ°í enÀº ¿µ¾îÀÔ´Ï´Ù.

$addr: ¼­¹öÀÇ ÁÖ¼ÒÀÔ´Ï´Ù. ¾Æ¹«°ªµµ ºÎ¿©ÇÏÁö ¾ÊÀ¸¸é ÀÚµ¿À¸·Î ÇöÀç
½Ã½ºÅÛ¿¡¼­ »ç¿ë °¡´ÉÇÑ ¸ðµç IP ÁÖ¼Ò¸¦ »ç¿ëÇÕ´Ï´Ù.

$port: ¼­¹öÀÇ Æ÷Æ®ÀÔ´Ï´Ù.

$r_limit: ´ëÈ­¹æÀ» ¸¸µé ¼ö ÀÖ´Â ÇÑ°èÀÔ´Ï´Ù.

$g_limit: Á¢¼Ó Çã¿ë ÇÑ°èÀÔ´Ï´Ù.

$tap: »ç¿ëÀÚµéÀÇ ´ëÈ­³»¿ëÀ» Äֿܼ¡ Ãâ·ÂÇÒÁö ¸»Áö¸¦ °áÁ¤ÇÏ´Â ¿É¼ÇÀÔ
´Ï´Ù. 1Àº onÀÌ°í 0Àº offÀÔ´Ï´Ù.

$log: »ç¿ëÀÚµéÀÇ ´ëÈ­³»¿ëÀ» ·Î±×ÆÄÀÏ¿¡ ±â·ÏÇÒÁö ¸»Áö¸¦ °áÁ¤ÇÏ´Â ¿É
¼ÇÀÔ´Ï´Ù. 1Àº onÀÌ°í 0Àº offÀÔ´Ï´Ù.


- C++ ¼­¹öÀÇ °æ¿ì
option.txt¿¡ ÀÖ´Â ´ÙÀ½ÀÇ Ç׸ñÀ» ¼öÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.

$server_name = "Jinyedge``s chatting server"
$addr = ""
$port = "8040"
$r_limit = "20"
$g_limit = "200"
$tap = "1"
$log = "1"

°¢ º¯¼öÀÇ Àǹ̴ Perl ¹öÀü°ú µ¿ÀÏÇÕ´Ï´Ù.


- Ŭ¶óÀ̾ðÆ® °æ¿ì
óÀ½ ½ÇÇàÇÏ´Â °æ¿ì Á¢¼Ó ÁÖ¼Ò¿Í Æ÷Æ®´Â °¢°¢ 127.0.0.1°ú 8040ÀÔ´Ï
´Ù. ÀÌ Á¢¼ÓÁ¤º¸¸¦ ¼öÁ¤ÇÏ·Á¸é edge_chatting.htmlÀ» ÆíÁýÇϽʽÿÀ.
param ű×ÀÇ server_addr, server_portÀÇ °ªÀ» º¯°æÇÏ¸é µË´Ï´Ù.

¾ÖÇø´ÀÇ °æ¿ì´Â º¸¾ÈÁ¦¾àÀÌ ÀÖÀ¸¹Ç·Î Ç×»ó ´Ù¿î·ÎµåµÈ ¼­¹ö·Î Á¢¼Ó
À» ÇØ¾ß ÇÕ´Ï´Ù. µû¶ó¼­ äÆü­¹öÀÇ ÁÖ¼Ò¿Í ÀÌ°÷¿¡ ÀÔ·ÂÇÏ´Â ÁÖ¼Ò´Â
ÀÏÄ¡ÇØ¾ß ÇÕ´Ï´Ù.


-------------------------------------------------------
5. ¸®´ª½º ȯ°æ¿¡¼­ ¼­¹ö¸¦ µ¥¸óÀ¸·Î ½ÇÇàÇÏ´Â ¹æ¹ý

main.pl À» ½ÇÇàÇÏ¿© ¼­¹ö¸¦ ½ÃÀÛÇÏ´Â °æ¿ì´Â ÇöÀç ¿¬°á ÁßÀÎ Å͹̳ÎÀÌ
Á¾·áµÇ¸é ¼­¹öµµ °°ÀÌ Á¾·áµË´Ï´Ù. ÇöÀç ¿¬°á ÁßÀÎ Å͹̳ÎÀÌ Á¾·áµÈ ÀÌ
ÈÄ¿¡µµ ¼­¹ö¸¦ µ¿ÀÛÀ» °è¼Ó À¯ÁöÇÏ°í ½Í´Ù¸é ½ÃÀÛ ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ´Â
¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. Edge chatting ÀÇ ¾ÐÃàÆÄÀÏ ¾È¿¡´Â start, stop, restart
½ºÅ©¸³Æ®°¡ ÀÖ½À´Ï´Ù. ÀÌ ¼¼ ÆÄÀÏ¿¡ ¸ðµÎ ½ÇÇà±ÇÇÑÀ» ÁÖ°í ¼­¹öÀÇ ½ÃÀÛ
½Ã¿¡´Â start, ÁßÁö½Ã¿¡´Â stop, Àç½ÃÀÛ¿¡´Â restart¸¦ »ç¿ëÇϽʽÿÀ.


-------------------------------------------------------
6. ±â´É°ú ¸í·É¾î

- ·Îºñ ¸í·É¾î
/H = µµ¿ò¸», /L = ´ëÈ­¹æ ¸®½ºÆ®, /O = ´ëÈ­¹æ ¸¸µé±â
, /J {´ëÈ­¹æ ¹øÈ£} = ´ëÈ­¹æ ÀÔÀå , /A = Á¢¼ÓÀÚ ¸í´Ü
, /F {´ëÈ­¸í} = Á¢¼ÓÀÚ Ã£±â
,/N {»õ ´ëÈ­¸í} = ´ëÈ­¸í ¹Ù²Ù±â, /CLS = È­¸é Áö¿ì±â

- ´ëÈ­¹æ ¸í·É¾î
/H = µµ¿ò¸», /L = ´ëÈ­¹æ ¸®½ºÆ®, /O = ´ëÈ­¹æ ¸¸µé±â
, /I {´ëÈ­¸í} = ÃÊûÇϱâ, /A = Á¢¼ÓÀÚ ¸í´Ü
, /F {´ëÈ­¸í} = Á¢¼ÓÀÚ Ã£±â,/N {»õ ´ëÈ­¸í} = ´ëÈ­¸í ¹Ù²Ù±â
, /R = ´ëÈ­¹æ Á¤º¸, /CLS = È­¸é Áö¿ì±â

- ¹æÀå ¸í·É¾î
/K {´ëÈ­¸í} = °­Á¦ÅðÀå, /P = ºñ¹Ð¹øÈ£ º¯°æ, /S = ÁÖÁ¦ º¯°æ
, /LM = Çã¿ëÀοø º¯°æ, /D = ºñ¹Ð¹øÈ£ »èÁ¦(°ø°³ ´ëÈ­¹æÀ¸·Î º¯°æ)

³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 69744618 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.