tcpclient
Best way to accept multiple tcp clients?
I have a client/server infrastructure. At present they use a TcpClient and TcpListener to send a receive data between all the clients and server.[详细]
2023-03-29 02:41 分类:问答Indy TCPClient OnDisconnect event not working
type TForm8 = class(TForm) idtcpclnt1: TIdTCPClient; idtcpsrvr1: TIdTCPServer; procedure FormCreate(Sender: TObject);[详细]
2023-03-28 23:22 分类:问答Java Equivalent Method to Test TCP Connection
In C# to test if UltraVNC was up and running on a local machine I would do this public static bool TestAvailablility(int port, string responseStartsWith)[详细]
2023-03-26 12:36 分类:问答socket.emit in a simple TCP Server written in NodeJS?
[as you\'ll see, I d开发者_如何学运维on\'t understand the basic concepts of a TCP server and client very well and probably socket.emit is not even possible, but I\'d like to know the best alternative[详细]
2023-03-26 05:23 分类:问答Basic multithreading with StreamReader/StreamWriter
I\'m using a StreamReader to read from a TcpSocket, and a StreamWriter to write to that TcpSocket.I would like to have the reading code in one thread and the writing code in another.How do I do this i[详细]
2023-03-26 00:52 分类:问答Casting different objects from TcpClient serialized object stream?
I\'ll be sending different object types between server/client applications, by serializing and sending over TcpClient. When I deserialize the stream, how would I best obtain the correct Type?[详细]
2023-03-25 12:07 分类:问答c# NetworkStream write() and read()
I\'m wondering how to stop Networkstream.Read() from blocking thread. I have separate thread where NetworkStream.Read() is waiting for data from server. Assume that user press some button that send so[详细]
2023-03-23 10:21 分类:问答TcpClient.EndConnect throws NullReferenceException when socket is closed
I am trying to connect to my server with a TcpClient.BeginConnect / TcpClient.EndConnect combo. However, some things don\'t work as they should.[详细]
2023-03-21 18:24 分类:问答how to detect disconnection to finish sending data trough tcpclient
i need to send a list of errors trough tcpclient with this code private bool TryConn(out TcpClient cliente)[详细]
2023-03-20 14:29 分类:问答SslStream equivalent of TcpClient.Available?
Based on the advice of @Len-开发者_StackOverflow社区Holgate in this question, I\'m asynchronously requesting 0-byte reads, and in the callback, accept bytes the available bytes with synchronous reads,[详细]
2023-03-20 07:46 分类:问答