networkstream
How to set a time-out for File.Create method on network drive?
I have a requirement in my app开发者_开发问答lication where I need to create the file in a network drive,[详细]
2023-02-19 16:44 分类:问答C# Why doesn't "Flush" force the bytes down the network stream?
I have a project where I\'m trying to send a serialized object to the server, then wait for an "OK" or "ERR开发者_StackOverflowOR" message to come back.[详细]
2023-02-10 10:58 分类:问答NetworkStream.Read download progress. In similar to WebClient.DownloadProgressChanged
I want to know current download progress when im using NetworkStream.Read. Is it even p开发者_Go百科ossible? Do i have to use webclient?[详细]
2023-02-07 10:02 分类:问答Invoke The stream does not support reading
I have a c# network application where alot of anonymous users connect to (game service). Now I check the logs and occasionally I see thi开发者_JAVA技巧s exception:[详细]
2023-02-06 19:53 分类:问答asynchronous networkstream to filestream (vice versa)
I have a client/server app. They both use asynchronous calls when receiving data. its build with TCP and is meant, primarily for sending files.[详细]
2023-02-04 17:58 分类:问答TCP server send too fast in .NET
I\'m making a client-server app in .NET, but now I got the problem that I try to send something, theclient is reading it and while reading I\'m sending something else so it makes crap of the sent data[详细]
2023-01-31 22:27 分类:问答How reading messages from Server? (tcp)
Client write to server - server read. and Server write to client - client not read. Server: using System;[详细]
2023-01-31 18:12 分类:问答How to estimate the size of byte array/buffer to read from NetworkStream?
int bufferSize = 8192; Byte[] buffer = new Byte[bufferSize]; I need to read from a NetworkStream which would have a continuous flow of incoming data at a high rate. I wanted to know[详细]
2023-01-31 10:08 分类:问答Operation not allowed on non-connected Sockets - C# 4.0
It keeps having an error \"Operation not allowed on non-connected sockets\" on the line var ServerStream = Connect2Server.GetStream();[详细]
2023-01-25 09:38 分类:问答How to tell in protobuf-net how many bytes were read from a NetworkStream on a call to DeserializeWithLengthPrefix
Is there a way to do this? I would like to know how many bytes were read from a NetworkStream when I call DeserializeWithLengthPrefix. Since NetworkStream does not support the Position property I cann[详细]
2023-01-22 13:12 分类:问答