javaʹÓÃrocksawºÍvserv tcpipʵÏÖ»ùÓÚICMPµÄPing¹¦ÄÜ
Ò»£º×¼±¸ www.savarese.org download
1. rocksaw-1.0.0-src.tar.gz
2. vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
1. build vserv-tcpip-0.9.2-src
ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈëvserv-tcpip-0.9.2-srcĿ¼£¬Ö´ÐÐAnt allÃüÁî,Ïà¹ØµÄAPI¡¢ class¡¢jar°ü¶¼Éú³ÉºÃÁË£¬jar°üÔÚlibĿ¼ÏÂ
2. build rocksaw-1.0.0-src
ant all
´íÎóÔÒò:jdk versionµÍÓÚ1.5
´íÎóÔÒò£ºbuild.properties ĬÈÏÊÇʹÓÃlinux/unix²Ù×÷ϵͳÉϵÄgccºÍgmake
jni.make=gmake
jni.cc=gcc
½â¾ö£º
#nmake¹¤¾ßȥ΢Èí¹ÙÍøÏÂÒ»¸öÐÞ¸´°æ±¾nmake15.exe,ÔËÐÐ ½«NMAKE.EXE·Åµ½system32Ŀ¼ÏÂ
jni.make=nmake
#°²×°C++¹¤¾ß°ü Microsoft Visual C++ Toolkit 2003,½«bin¡¢inlude¡¢lib¼ÓÈë»·¾³±äÁ¿pathÖÐ,ÕâÑù¾Í¿ÉÒÔÖ±½ÓʹÓÃclÃüÁî±àÒë
jni.cc=cl
´íÎóÔÒò:jni.makefile=Makefile ÕâÊÇlinux/unixÉϵÄmakefile
½â¾ö:jni.makefile=Makefile.win32 ÎļþÔÚ\rocksaw-1.0.0\src\jniÏÂ
´íÎóÔÒò£º¿ÉÄÜÊÇûÓÐÕÒµ½jdkĿ¼ÏµÄincludeĿ¼£¬erron.hÊÇMicrosoft Visual C++ Toolkit 2003\includeϵÄ
½â¾ö·½·¨£º½«java»·¾³±äÁ¿JAVA_HOME¸ÄΪJDK_HOME»òÕßÔÚMakefile.win32ÖÐÖ±½ÓÐÞ¸Ä JAVA_INCDIR=$(JAVA_HOME)\include,È»ºó½«Microsoft Visual C++ Toolkit 2003\includeϵÄerron.h¿½±´µ½jdk\includeÏÂ
´íÎóÔÒò£ºÃ»ÓÐÕÒµ½string.h
½â¾ö·½·¨:ÔÚMakefile.win32ÖÐÌí¼ÓÁ½¸ö±äÁ¿(CPP_HOME : Microsoft Platform SDK)
 
Ïà¹ØÎĵµ£º
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......
ÖµÀàÐÍÊÇ´æ´¢ÔÚÄÚ´æÖеĶÑÕ»£¨ÒÔºó¼ò³ÆÕ»£©£¬¶øÒýÓÃÀàÐ͵ıäÁ¿ÔÚÕ»Öнö½öÊÇ´æ´¢ÒýÓÃÀàÐͱäÁ¿µÄµØÖ·£¬¶øÆä±¾ÉíÔò´æ´¢ÔÚ¶ÑÖС£==²Ù×÷±È½ÏµÄÊÇÁ½¸ö±äÁ¿µÄÖµÊÇ·ñÏàµÈ£¬¶ÔÓÚÒýÓÃÐͱäÁ¿±íʾµÄÊÇÁ½¸ö±äÁ¿ÔÚ¶ÑÖд洢µÄµØÖ·ÊÇ·ñÏàͬ£¬¼´Õ»ÖеÄÄÚÈÝÊÇ·ñÏàͬ¡£equals²Ù×÷±íʾµÄÁ½¸ö±äÁ¿ÊÇ·ñÊǶÔͬһ¸ö¶ÔÏóµÄÒýÓ㬼´¶ÑÖеÄÄÚÈÝÊÇ·ñÏà ......
ÏÂÃæÊÇʹÓÃjavaʵÏֵĵݹéÄæÐò¶Ô²éÕÒ£¬ËùνµÄÄæÐò¶Ô¾ÍÊÇÔÚÊý×éA[]ÖÐÈç¹û i < j ,²¢ÇÒA[i] > A[j], ÔòÎÒÃÇ˵A[i]ºÍA[j]ÊÇÒ»¶ÔÄæÐò¶Ô¡£Èç¹ûÓÃÆÕͨµÄË㷨ʵÏֵĻ°£¬²éÕÒµÄʱ¼ä¸´ÔӶȣ¬ÊÇO(N*N)£¬Ê¹ÓÃÕâÀïµÄ¶Ó¹æµÄ·½Ê½²éÕҵĻ°£¬Ê±¼ä¸´ÔÓ¶ÈÊÇO(N*lgN)
import java.util.Date;
import java.util.Random;
/*
* ʹÓõݹ ......
[ת]http://www.java3z.com/cwbwebhome/article/article2/2414.html?id=1101
/*
ÍøÒ³ÖÐµÄ±íµ¥Ê¹ÓÃPOST·½·¨Ìύʱ£¬Êý¾ÝÄÚÈݵÄÀàÐÍÊÇ application/x-www-form-urlencoded£¬ÕâÖÖÀàÐͻ᣺
1.×Ö·û"a"-"z"£¬"A"-"Z"£¬"0"-"9"£¬"."£¬"-"£¬"*"£¬ºÍ"_" ¶¼²»»á±»±àÂë;
2.½«¿Õ¸ñת»»Îª¼ÓºÅ (+) ;
3.½ ......
JavaÁ¬½ÓÊý¾Ý¿âµÄ·½·¨
×¢£º×ªÓÚhttp://www.newasp.net/tech/java/15826.html
JAVAÁ¬½ÓÊý¾Ý¿âÖ÷ÒªÓÐÁ½ÖÖ·½Ê½:
Ò»ÊÇÓÃJDBC-ODBCÇÅÀ´Á¬½Ó
¶þÊÇÓÃÏà¹Ø³§ÉÌÌṩµÄÏàÓ¦Çý¶¯³ÌÐòÀ´Á¬½Ó
ÓÃJDBC-ODBCÇÅÀ´Á¬½Ó
JDBC-ODBCÇŽÓÆ÷ÊÇÓÃJdbcOdbc.ClassºÍÒ»¸öÓÃÓÚ·ÃÎÊODBCÇý¶¯³ÌÐòµÄ±¾µØ¿âʵÏֵġ£¶ÔÓÚWINDOWSƽ̨£¬¸Ã±¾µØ¿âÊÇÒ»¸ö¶¯ ......