ASP.NET w3socket 통한 소켓 통신
Socket.dll 다운로드
.cs
Socket.TCPClass sock = new Socket.TCPClass();
sock.Host = "IP:포트";
sock.TimeOut = 2000;
sock.Open();
sock.SendLine("Send");
sock.Wait();
Response.Write(sock.GetText(6));
Response.Write(sock.Buffer);
sock.Close();
'정리없는자료 > .NET' 카테고리의 다른 글
| asp.net ClientMode="Static" (0) | 2011/12/01 |
|---|---|
| DateTime.Compare 날짜 비교 (0) | 2011/12/01 |
| ASP.NET ( C# ) Socket 통신, w3Sockets (0) | 2011/04/21 |
| IIS7.x에서 파일 업로드 용량 변환 (0) | 2010/11/12 |
| repeater Excel download (0) | 2010/11/12 |
| Repeater FooterTemplate (0) | 2010/11/12 |

