Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏ resin ÎÞ·¨Ê¹Óö˿Ú


ÔÚ linux ÏÂ×°ÁË  /usr/java/j2sdk1.4.2.19

                /opt/resin2.1.17


µ«ÊÇÆô¶¯ÁËresinÖ®ºó£¬ http can't bind to *:9004
¶Ë¿ÚºÅÒ»Ö±Á¬½Ó²»ÉÏÈ¥¡£¡£

ÊÔ¹ý»»¶Ë¿ÚÁË¡£¡£²»ÐС£
netstat -l  ÉÏ9004ҲûÓб»Õ¼Óᣡ£

¸üÆæ¹ÖµÄÊÇ ÎÒÆô¶¯µÄÓ¦¸ÃÊÇ  http  ¶Ë¿Ú¡£¡£
½á¹ûÎÒÔÚnetstat Éϼà¿Øµ½µÄ£¬È·ÊÇ <srun host='127.0.0.1' port='6802'/> Õâ¸ö¶Ë¿Ú±»Æô¶¯ÁË¡£¡£

ÕâÊÇʲôԭÒò°¢¡£¡£

×¢£ºÃ»×°  apache

¸÷λ´óϺ¿´¿´°¡


Ïà¹ØÎÊ´ð£º

Linux Socket HTTPÇëÇóµÄÎÊÌ⣬¸ßÊÖ½ø£¡

СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£Ô­Òò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡
C/C++ code:

char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó
{
char response[2 ......

LinuxÏ°²×°ÎÊÌâ

Ô­ÏȵÄGCC°æ±¾Îª4.1.2,ÎÒÖØбàÒë°²×°ÁËGCC4.3.2£¬µ«ÊDZàÒëÍê³ÌÐòÔËÐгÌÐòʱ»á³öÏÖversion `GLIBCXX_3.4.9' not found Õâ¸öÎÊÌ⣬ÎÒ²»Ì«Ã÷°×Ôõô»ØÊ£¬Çë¸÷λ´óϺָµãһϡ£
ÊÖ¶¯ÔÙ×°Ò»´Îglibc*_3.4.9

ÕâÊÇÎ ......

LinuxÈçºÎÏñwindowsÄÇÑù¸øÎļþ¼ÐÌí¼ÓÓû§

ÎÒµÄÒâ˼ÊÇ£º

ÔÚ²»¸ü¸ÄÔ­À´µÄÎļþ¼ÐËùÓÐÈË£¬ËùÓÐ×飬ÆäËûÈËȨÏÞµÄÇé¿öÏ£¬µ¥¶À¸øÎļþ¼ÐÊÚȨijÓû§

±ÈÈç/var/www Õâ¸öÎļþ¼Ð£¬Ô­À´ÏµÍ³ÓÐĬÈϵÄÊôÖ÷ºÍÊô×飬ÎÒÏÖÔÚ²»ÏëÈ¥¸ÄËüÔ­À´µÄÉ趨£¬Ö»ÊÇÏë¸øËüÔö¼ ......

ͬʱÌṩ windowsϵÄdllºÍ linuxϵÄso Îļþ

ÎÒҪд¸ö·þÎñ¶Ë¡£ ÒªÇóͬʱ֧³Öwindows ºÍ linux Á½¸ö ϵͳ¡£  Ò²¾ÍÊÇҪдһ¸ö dllºÍÒ»¸öso Îļþ¡£ÓÉÓÚÎÒÒ»Ö±¶¼ÊÇÔÚwindsÏÂд³ÌÐò¡£linuxµÄ»¹²»»á¡£ Ïò´ó¼Ò×Éѯ ͬʱ Ö§³Ö dllºÍso  Ó¦¸ÃÔõôд¡£
Óô¿c/c ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ