Top "Networkstream" questions

A .NET class that provides the underlying stream of data for network access.

How to set TCPListener to always listen and when new connection discard current

I want to admit I'm not the strongest in c# and I have developed this program by looking at several …

c# sockets tcp tcplistener networkstream
TcpClient disconnect during async read

I have a few questions about finishing a tcp connection. A client connects to my server using Tcp, after accepting …

c# asynchronous tcp networkstream disconnect
Why is NetworkStream.Read so slow?

I know, there are already a lot of similar questions here but I did not found a solution to make …

c# tcp networkstream
How I can play streaming audio over Ethernet in Qt?

My goal is to transmit *.wav file over LAN network without delay or with minimal one. Also we read a …

qt audio streaming networkstream
streaming video over LAN C#

I've recently learned about data streaming and C#. I've practice building a simple server-client Login program like so: public static …

c# video streaming networkstream
C# - To close a NetworkStream, call stream.Close or socket.Shutdown?

I was wondering if anyone knew the best way to dispose of a class that uses a Socket object and …

c# sockets stream networkstream
What are the possible causes for stream not writable exception?

What are the possible causes for Stream not Writable Exception when serializing custom object over TCP using Network Stream in …

c# tcp networkstream naudio audiostreamer
How to moq a NetworkStream in a unit test?

I'm using Moq & NUnit as a unit test framework. I've written a method that is given a NetworkStream object …

c# unit-testing mocking moq networkstream
How to read all requested data using NetworkStream.BeginRead?

There is a code of async server. Client sends Header - size of Data Block + Data Block. Server reads asynchronously …

c# tcpclient networkstream beginread
C#: Implementing NetworkStream.Peek?

Currently, there isn't a NetworkStream.Peek method in C#. What is the best way of implementing such a method which …

c# stream byte networkstream peek