tcpclient
Why does this TLS code only runs in debugging mode?
I\'m getting a strange error: The handshake failed due to an unexpected packet format if I directly run my code without debugging.[详细]
2023-04-09 15:55 分类:问答Determine size of object sent across the network
I am trying to figure out the size of an object that is sent to my application via TCP.Unfortunately there is a third party tool that is receiving data and then handing my application an object throug[详细]
2023-04-08 07:39 分类:问答C# synchronous TCP client socket unexplained missing data
I\'m using TCP over an unreliable mobile data connection, which may drop packets due to interference or whatever may be going wrong with the signal strength.[详细]
2023-04-07 22:37 分类:问答Why does throw crash my program but return doesn't?
I am trying to catch exceptions for my form client not being able to establish a connection to a server with this in the Connect callback:[详细]
2023-04-07 18:55 分类:问答How to set the the timeout for an asychronous Connection with a TcpClient?
I\'ve been looking at numerous examples such as this, this, and this but none of them seem to work. I\'m not sure what\'s wrong but for each example I\'ve tried the wait is just ignored 开发者_JAVA百科[详细]
2023-04-07 18:14 分类:问答Timeout or try-catch for connecting to a server? (C# WinForms)
Which code is preferable to handling failed connections to a server? Something like this: Or this kind of code at the beginning of the async callback for TcpClient.BeginConnect:[详细]
2023-04-07 14:08 分类:问答Loopback/Localhost Question
i have a question about sockets/clients.... I just finished writing a client server program in C#. I was wondering, how do you connect to computers that have a different IP address. For instance, if[详细]
2023-04-07 02:56 分类:问答.NET 4 new TCP client fails to connect: No connection could be made because the target machine actively refused it
I am having a simple issue with .NET 4 Sockets (TcpClient) in both win7 and xp. I get the error: No connection could be made because the target machine actively refused it[详细]
2023-04-06 23:08 分类:问答When to using async when dealing with TcpClients? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Difference between NetworkStream.Read() and NetworkStream.BeginRead()?[详细]
2023-04-06 03:07 分类:问答Application process not ending when I close the form? (C#)
Experimenting with the TcpClient and TcpListener class and for some reason when I have a couple of threads running and I close the form the process does not end but the form disappears.[详细]
2023-04-05 09:45 分类:问答