Socket.BeginReceiveFrom — начинает асинхронный прием данных из сокета в заданный буфер для указанного адреса EndPoint. Этот метод позволяет приложению выполнять прием данных асинхронно, не блокируя основной поток выполнения. Когда данные успешно приняты или происходит ошибка ввода-вывода, вызывается указанный делегат обратного вызова. Этот метод может быть использован только для сокетов, созданных с использованием SocketType.Dgram или SocketType.Raw, и должен быть вызван на сокете, который уже получает соединения или с которого возвращаются данные.
C# (CSharp) Socket.BeginReceiveFrom - 43 примеров найдено. Это лучшие примеры C# (CSharp) кода для Socket.BeginReceiveFrom, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.