---
title: "Flex 与 C# socket 通信(最简单的例子)"
author: "wangangie3"
date: "2012-07-02T10:42:48Z"
tags: []
categories: ["非技术"]
slug: "flex-c-socket"
draft: false
lastmod: "2012-07-02T10:42:48Z"
id: 1573864
url: "https://wangangie3.iteye.com/blog/1573864"
---


　　我用的是vs2005 
　　文件 - 新建 - 项目 - 控制台应用程序 using System; using System.Collections.Generic; using System.Text; using System.Net.Sockets; using System.IO; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { TcpListener listener; try { listener = new TcpListener(8888); //说此方式已过期，⊙