networkstream
Is it possible to write/read directly TCP Streams in ASP.NET?
I\'d like to write and read TCP Streams directly without any modifications by ASP or IIS. Is this possible?[详细]
2023-01-20 18:36 分类:问答Sound keeps playing after external swf was unloaded
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[详细]
2023-01-20 12:35 分类:问答Reading on a NetworkStream = 100% CPU usage
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?[详细]
2023-01-19 19:25 分类:问答Transfering items over NetworkStream causes some data to get clobbered
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[详细]
2023-01-16 18:25 分类:问答Using a NetworkStream to transfer a file
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[详细]
2023-01-15 00:04 分类:问答protobuf-csharp-port
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[详细]
2023-01-13 23:09 分类:问答IRC using NetworkStream - buffer fills and line gets chomped
var buffer = new byte[short.MaxValue]; var splitString = new string[] {\"\\r\\n\"}; while (_tcpClient.Connected)[详细]
2023-01-12 16:04 分类:问答BeginReceive / BeginRead timeouts
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[详细]
2023-01-11 01:08 分类:问答Why would BufferedStream.Write throw "This stream does not support seek operations"?
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:[详细]
2023-01-04 04:11 分类:问答How long will NetworkStream Read wait, before dying?
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?[详细]
2022-12-26 21:23 分类:问答