——此文章摘自《ASP
NET網絡數據庫開發實例精解》定價
¥
特價
¥
詳細>>
http://track
linktech
cn/?m_id=dangdang&a_id=A
&l=
&l_type
=
width=
height=
border=
nosave>
FileStream fileStream = new FileStream(ServerMapPath(myNewFiledat)
FileModeOpenOrCreate);
BinaryWriter writer = new BinaryWriter(fileStream);
writerWrite(recDatarecDataLength );
//關閉寫文件流
fileStreamClose();
writerClose();
//關閉接收數據的Socket
hostSocketShutdown(SocketShutdownReceive);
hostSocketClose();
}
運行效果
設置頁面MySocketaspx為應用程序的起始頁面按F鍵運行出現如圖所示的初始界面
http://developcsaicn/dotnet_ASP/images/jpg>
圖 頁面MySocketaspx的初始界面
right>[http://developcsaicn/dotnet_ASP/htm>] [http://developcsaicn/dotnet_ASP/htm>] [http://developcsaicn/dotnet_ASP/htm>] []
From:http://tw.wingwit.com/Article/program/net/201311/15232.html