タグ

Libraryとsocketに関するItisangoのブックマーク (1)

  • Socket クラス (System.Net.Sockets)

    public ref class Socket : IDisposable public class Socket : IDisposable type Socket = class interface IDisposable Public Class Socket Implements IDisposable 継承 例 次の例は、 クラスを Socket 使用して HTTP サーバーにデータを送信し、標準出力に ASCII 応答を出力する方法を示しています。 次の使用例は、ページ全体を受信するまで、呼び出し元のスレッドをブロックします。 private static void SendHttpRequest(Uri? uri = null, int port = 80) { uri ??= new Uri("http://example.com"); // Construct a min

    Socket クラス (System.Net.Sockets)
    Itisango
    Itisango 2022/01/28
    「The Socket class provides a rich set of methods and properties for network communications. The Socket class allows you to perform both synchronous and asynchronous data transfer using any of the communication protocols listed in the ProtocolType enumeration.」
  • 1