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
Ïà¹ØÎĵµ£º
ÎÒÒѾ½²¹ýÁËÈçºÎÓÃ΢ÈíÑźÚ×ÖÌåÃÀ»¯ubuntuÁË£¬ÏÖÔÚÎÒÃǾÍÓÃ΢ÈíÑźÚ×ÖÌåÀ´½â¾öÕâ¸öÂÒÂëÎÊÌâ¡£
´ò¿ªÖնˣº
cd /etc/fonts/conf.d //»¹ÊÇ×ÖÌåĿ¼
sudo cp 49-sansserif.conf 49-sansserif.conf_backup //±¸·Ý ......
Ê×ÏÈ˵Ã÷ÔÚFlashÀï¸Ä±äÊó±êÑùʽ£¬²¢²»ÊÇÔÚflashÀïµ¼È뾲̬Êó±êÎļþ»òÕßÊǶ¯Ì¬Êó±êÎļþ£¬¶øÊÇ×Ô¶¯Òþ²ØÊó±ê£¬×Ô¶¯Í϶¯Ò»¸öMCÀ´ÊµÏָıäÊó±êÑùʽ¡£Ê×ÏÈн¨Ò»¸öӰƬ£¬Ð½¨Ò»¸öMC£¬½øÈëMCµÄ±à¼×´Ì¬£¬»æÖÆÒ»¸öÄãϲ»¶µÄÊó±êÑùʽ£¬ÒòΪÊÇÔÚMCÀïÃ棬Äã¿ÉÒÔ×öÒ»¸ö¶¯Ì¬Êó±ê£¬Ò²¿ÉÒÔ×öÒ»¸ö¾²Ì¬Êó±ê¡££¨×¢Ò⣺һ¶¨Òª°ÑÄãÖÆ×÷µÄÊó±êµÄÖÐ ......
C#Á¬½ÓÁ¬½ÓAccess
Ê×ÏÈ¿´Ò»¸öÀý×Ó´úÂëƬ¶Ï:
³ÌÐò´úÂë:
--------------------------------------------------------------------------------
using System.Data;
using System.Data.OleDb;
......
string strConnection="Provider=Microsoft.Jet.OleDb.4.0;";
strConnection+=@"Data Source=C:\BegASPNET\Northwin ......
´ÓÆ»¹û¡¢ARMµ½OPERA£¬·çÏòËƺõ¿ªÊ¼¸Ä±ä£¬¶ÔFLASHµÄÅê»÷Ô½À´Ô½¶à£¬ËƺõºÞ²»µÃ½«ADOBEŪ³ôµ½³ÉΪ¹ý½ÖÀÏÊó¡£µ±È»£¬ÎÒÄ¿Ç°ÊÇÒ»ÃûFLEX³ÌÐòÔ±£¬Ëù·¢±íµÄÒâ¼ûÄÑÃâ»á´øÓÐÆ«¼û£¬Èç¹ûÊÇÆÚÍû°Ù·Ö°ÙµÄ¹«Õý£¬¾ÍÏñijÈË˵µÄ£ºÄãÒÔΪÎÒÊÇ°üÇàÌì°¡£¡
ÏëÏ뿪·¢Õ߶ÔÓÚMSµÄ×÷Ó㬾ÍÓ¦¸ÃÏëµ½Éè¼Æʦ¶ÔÓÚADOBEµÄ×÷Ó㬼¸ºõÕû¸öͼÐÎÉè¼ÆµÄÊг¡¶¼ÓÐË ......
Ò»¡¢³£ÓÃÖÆ×÷Èí¼þ
1¡¢Macromedia Flash v8.0 ¼òÌå°æ
ÈíÈí¼þ´óС£º123.96MB
ÐòÁкţºWPD800-51931-56332-97731
WPD800-52630-88732-94085
WPD800-53537-77832-85167
WPD800-56030-83832-97910
ÏÂÔصØÖ·: http://www.crsky.com/soft/5699.html
2 ......