I\'d like to write and read TCP Streams directly without any modifications by ASP or IIS. Is this possible?
I have a flash application, some kin开发者_高级运维d of a play-list that loads external SWF video player (I don\'t have code access to that external file), so users can watch the video or skip to anot
I am reading from a NetworkStream that is in a while loop. The issue is I am seeing 100% CPU usage. Is there any way to stop this from happening?
I am sending a filename(string), filesize(int), and the file(byte[]). What is happening is that in certain cases, depending on how quickly the data gets processed on the server side, the NetworkStream
I am having trouble transferring a file to a client from a server program. A few problems I would like to address. First is that I make the byte array 6000 bytes big and its always that size. Is there
I\'m using Jon Skeet\'s (excellent) port of Google\'s Protocol Buffers to C#/.Net. For practice, I have written a dummy Instant Messenger app that sends some messages down a socket. I have a message
var buffer = new byte[short.MaxValue]; var splitString = new string[] {\"\\r\\n\"}; while (_tcpClient.Connected)
I\'m us开发者_C百科ing a NetworkStream & TcpClient to asynchronously receive data using BeginRead. I need to apply a time-out to this operation, such that after a specified amount of time the read
This one puzzles me. I get an error about seek when I\'m not even calling it? I have code that looks something like this:
I have a call to Read on NetworkStream objeck, which uses Socket.Receive internally. Say that no data is comming in. How long before the Read Method exits?