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

flash C# Socket

2009-09-01 17:33ÔÚ.netÖж¨ÒåÒÔÏÂ
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace ClientSocket
{
public class AsynchronousSocketListener
{
    //Òì²½socketÕïÌý
    // Incoming data from client.´Ó¿Í»§¶Ë´«À´µÄÊý¾Ý
    public static string data = null;
    // Thread signal.Ïß³Ì ÓÃÒ»¸öָʾÊÇ·ñ½«³õʼ״̬ÉèÖÃΪÖÕÖ¹µÄ²¼¶ûÖµ³õʼ»¯ ManualResetEvent ÀàµÄÐÂʵÀý¡£
    public static ManualResetEvent allDone = new ManualResetEvent(false);
    public AsynchronousSocketListener()
    {
    }
    public static void StartListening()
    {
     // Data buffer for incoming data. ´«ÈëÊý¾Ý»º³å
     byte[] bytes = new Byte[1024];
     // Establish the local endpoint for the socket. ½¨Á¢±¾µØ¶Ë¿Ú
     // The DNS name of the computer
     // running the listener is "host.contoso.com".
     IPHostEntry ipHostInfo = Dns.Resolve(Dns.GetHostName());
     IPAddress ipAddress = ipHostInfo.AddressList[0];
  
     IPEndPoint localEndPoint = new IPEndPoint(ipAddress, 11001);
     // Create a TCP/IP socket.
     Socket listener = new Socket(AddressFamily.InterNetwork,
      SocketType.Stream, ProtocolType.Tcp );
     // Bind the socket to the local endpoint and listen for incoming connections.°ó¶¨¶Ë¿ÚºÍÊý¾Ý
     try
     {
      listener.Bind(localEndPoint);
      listener.Listen(100);
      while (true)
      {
       // Set the ev


Ïà¹ØÎĵµ£º

open flash chart 2 ʹÓòο¼

http://code.google.com/p/jofc2/   Õâ¸öÊÇgoogle¶ÔOFC×öÀ©Õ¹µÄ°ü  ÆäÖаüº¬ÓÐ jofc2-1.0-0.jar,xstream-1.3.1.jar,Á½¸ö.jar µµÐèÒª¼ÓÈëÏîÄ¿ÖÐ
ofcÏÂÔØ: http://teethgrinder.co.uk/open-flash-chart/   °üÀ¨:open-flash-chart.swf,swfObject.js,json.js
http://hi.baidu.com/harbin%5Fsakura/b ......

½â¾öubuntuä¯ÀÀÆ÷flash·½¿éºÍÂÒÂëÎÊÌâ

    ÎÒÒѾ­½²¹ýÁËÈçºÎÓÃ΢ÈíÑźÚ×ÖÌåÃÀ»¯ubuntuÁË£¬ÏÖÔÚÎÒÃǾÍÓÃ΢ÈíÑźÚ×ÖÌåÀ´½â¾öÕâ¸öÂÒÂëÎÊÌâ¡£
    ´ò¿ªÖնˣº
     cd /etc/fonts/conf.d    //»¹ÊÇ×ÖÌåĿ¼
     sudo cp 49-sansserif.conf 49-sansserif.conf_backup    //±¸·Ý ......

asp.net(c#)Êý¾ÝÀàÐ͸ñʽת»»´óÈ«

1¡¢DateTime   Êý×ÖÐÍ 
       System.DateTime currentTime=new System.DateTime(); 
  1.1 È¡µ±Ç°ÄêÔÂÈÕʱ·ÖÃë 
       currentTime=System.DateTime.Now; 
  1.2 È¡µ±Ç°Äê 
   &nb ......

C# Delphi´¦Àí·ÖÎöQQЭÒé


C# Delphi´¦Àí·ÖÎöQQЭÒé
 
 
¡¡´ó¼Ò˵µ½QQЭÒ鶼¾õµÃºÜÉñÃØ£¬ÊÇÒòΪQQ²»ÏñMSN»òÕßICQЭÒ鶼ÒѾ­¹Ù·½¹«²¼ÁË£¬¶øQQµÄûÓй«²¼¡£Ñо¿ËüµÄÈËÒ²²»ÊÇÌرðµÄ¶à£¬ËäÈ»ÒѾ­ÓÐÁË»ùÓÚ QQЭÒéËùд³ÉµÄµÚÈý·½Èí¼þ foicq, qq plugins for gaim, LumaQQ£¬µ«ÊÇÓÉÓÚËûÃÇÊÇ»ùÓÚ¶þ½øÖÆStreamµÄЭÒé¹ýÓÚ¸´ÔÓ£¬´ó¼ÒÔĶÁ´úÂëÒ²ÓÐÒ ......

FlashʹÓ÷þÎñÆ÷ʱ¼ä

ÔÚ×öFlashÓ¦ÓÃʱ£¬ÓÐʱ¿ÉÄÜ»áÓöµ½ÐèҪʹÓ÷þÎñÆ÷ʱ¼äµÄÇé¿ö£¬ÀýÈçÓ¦ÓóÌÐòÖÐÏÔʾµ±Ç°ÏµÍ³Ê±¼ä¡¢¶¨Ê±ÌáÐѵȹ¦ÄÜ¡£Ê¹ÓÃnew Date()´´½¨µÄÊÇ¿Í»§¶ËµÄʱ¼ä£¬Õâ²¢²»ÊÇÎÒÃÇÐèÒªµÄ£¬¿Í»§¶Ëʱ¼äºÜÈÝÒ×±»Óû§¸ü¸Ä£¬ÎÒÃÇÐèҪͳһµÄ·þÎñÆ÷ʱ¼ä¡£
ʹÓÃFlashÓëºǫ́ͨÐÅ£¬ÎÒÏëÄúÓ¦¸ÃÒѾ­Ó¦Óõ½ÄúµÄÏîÄ¿ÖУ¬²»¹ÜʹÓÃÄÄÖÖ·½Ê½£¬¶¼¿ÉÒÔ°Ñ·þÎñ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ