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
Ïà¹ØÎĵµ£º
ODBC DSN
ODBC -- New Microsoft Driver
ODBC -- Old Microsoft Driver
ODBC -- Oracle Driver
OleDb -- Microsoft Driver
OleDb -- Oracle Driver -- Standard Connection
OleDb -- Oracle Driver -- Trusted Connection
.NET DataProvider from Microsoft -- Standard Connection
.NET DataProvider fr ......
http://www.52rd.com/Blog/Detail_RD.Blog_foxice_10404.html
http://www.foxice.net/techinfo_nandboot1.asp
Ò»ÖÖNAND FLASH×ÔÆô¶¯µÄз½·¨
foxice ·¢±íÓÚ 2007-8-27 15:29:00
1
Òý
ÑÔ
Ëæ×ÅÏû·ÑÀàµç×Ó²úÆ·°üÀ¨ PDA £¬ MP3
¡¢ÖÇÄÜÊÖ»úµÈÊÖ³ÖÉ豸µÄÊг¡ÐèÇóÖð²½À©´ó£¬²úÆ·¼äµÄ¾ºÕùÒ²Óú·¢¼¤ÁÒ£¬½µµÍ²úÆ·µÄÉè¼ ......
ÎÒÒѾ½²¹ýÁËÈçºÎÓÃ΢ÈíÑźÚ×ÖÌåÃÀ»¯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 ......