首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Supersocket 怎么使用 教程1

2012-10-18 
Supersocket 如何使用 教程1This guide will introduce how to create a simple command line socket appl

Supersocket 如何使用 教程1

This guide will introduce how to create a simple command line socket application using SupperSocket application framework.

?

About SuperSocket: http://www.cnblogs.com/jzywh/archive/2010/06/09/supersocket.html

?

1. Create a new project named “EchoService” in a new empty solution
2. Add the project “SocketServiceCore”(which is belong to SuperSocket) into the solution, and then let the project “EchoService” reference it
Supersocket 怎么使用 教程1
3. Add session class and server class
Supersocket 怎么使用 教程1
EchoSession.cs

Supersocket 怎么使用 教程1Supersocket 怎么使用 教程1
ECHO.cs
Supersocket 怎么使用 教程1
7. Click “RunServer.bat” and then enter “start” to start the server, then you can test the echo server by telnet (you also can click "InstallService.bat" to intsall the server application as windows service, the service name is defined in appSetting of app.config with the key "ServiceName")
Supersocket 怎么使用 教程1



热点排行