Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
81 views

I have a Task that should continuously read from a Tcp stream and place the data into a ConcurrentQueue for processing. Stepping through the function I notice that the ReadAsync Call does not return. ...
gwiz_kid's user avatar
  • 143
0 votes
1 answer
101 views

I inherited code that calls the following: TcpClient client; // (removed try/catch blocks to simplify this discussion) client = new TcpClient { SendTimeout = 5000, ReceiveTimeout = 5000 }; client....
FoxScully's user avatar
  • 111
1 vote
0 answers
49 views

I wrote a TCP client for sending and receiving data to/from others, using Poco C++ library on Debian 12, like this code: int main(int argc, char** argv) { Poco::Net::StreamSocket sock; sock....
Nabila Salmi's user avatar
-2 votes
1 answer
106 views

I could use some help to figure out why my code is failing… I'm trying to execute a stored procedure with 130 parameters. The stored procedure works when I comment out two of the flag bit parameters ...
Paul's user avatar
  • 99
0 votes
0 answers
60 views

The SYN packets are sent together before receiving any SYN-ACK from the server. Both SYN has the same source dest IP address & port. They only differ in seq no, so what will happen in this case?
Aashish Aggarwal's user avatar
1 vote
1 answer
106 views

I need to create a connection between 4 clients and a server and they should communicate over a networkprotocol. I'm quite clueless and I don't know what I need to implement in which class. I managed ...
Chulija's user avatar
  • 11
0 votes
0 answers
326 views

I am new to socket program and I am facing an issue. I created a client socket, now I am try to connect to the server using the connect() function. If my server is down or not reachable for some ...
sathish k's user avatar
0 votes
0 answers
119 views

I’m working with a 3rd party device that I'm communicating with over a TCP/IP connection. According to the manual I was provided by the vendor, the tool is started when I send to it the RUN command (...
Paul's user avatar
  • 99
0 votes
0 answers
71 views

I have a server where it completes the TCP handshake and client sends Client Hello and server responds with Ack. after this suddenly Server Sends REST ACK. I expect that on receiving REST ACK, client ...
VikasPushkar's user avatar
0 votes
1 answer
169 views

I want to use gstreamer to package and stream h264 video frames. The udp method succeeds, but the tcp method does not work. What is my problem? This is a rtp client program. The following is the code ...
Linby's user avatar
  • 1
0 votes
1 answer
112 views

I have been asked to implement a card game(the loading and save don't function as intended, but this shouldn't affect the connection) from a previous project in a TCP server/client situation. In order ...
Ria's user avatar
  • 27
0 votes
1 answer
166 views

I want to create a simulated SQL server where I give it a log file to simulate. I don't want to deal with a full blown Sql server where I have to input dummy data, but a simple script(log) monkey ...
Ranald Fong's user avatar
0 votes
1 answer
483 views

I need help to understand how to configure and how certificate revocations really work in Windows. I'm testing a scenario where I have a self-signed certificate that will be the one for the root CA, ...
MckPT's user avatar
  • 35
0 votes
0 answers
130 views

I have 2 applications. Server and client. The server is written in C# Console application and it describes the logic for listening to all incoming connections using TcpClient. I also use StreamWriter ...
Алексей Кондратьев's user avatar
0 votes
1 answer
135 views

I've got something happening I do not understand. I have a laptop connected to my home office over a VPN with a 172.* IP address. I have a system at the office that I remote into with a 10.* IP ...
Matt Davis's user avatar
  • 46.3k
2 votes
0 answers
84 views

I am working with Raspberry Pi 4 with bookworm 64bit OS for connecting devices with TCP/IP. I need some delay for socket timeout if no response from my server. The Raspberry Pi acts as a client. I am ...
Sathish's user avatar
  • 445
0 votes
1 answer
551 views

I am trying to write a Python program using a client-server model that supports uploading a file from client to server by fragmenting the file and for each fragment, create a thread to send it. I try ...
Rachal's user avatar
  • 3
1 vote
0 answers
34 views

I'm working on an online game. For communication between clients and the server, I'm using TCP. Now, when clients send their usernames to the server, the server should message them back '1', but the ...
Howell's user avatar
  • 11
0 votes
1 answer
64 views

My .NET MAUI application communicates with a server using a tcpconenction. However, if the user turns his phone off or minimizes the application for a few minutes and then reopens it, the connection ...
Joelbu's user avatar
  • 144
0 votes
1 answer
86 views

I try to write a TcpClientPool to manage a KeepAlive behavior with the host public class TcpClientPool : IDisposable { private readonly ConcurrentDictionary<string, TcpClient> _clients = new ...
thibsc's user avatar
  • 4,111
0 votes
0 answers
73 views

I'm trying to connect TcpClient (client-side) and TcpListener (server-side) to send (more than one) data stream. I have a problem that I could not solve by reading docs and articles... This is the ...
Attilio Gelosa's user avatar
0 votes
2 answers
112 views

I have currently the problem, that messages are supposed to arrive separated at the server. private Encoding _encode = Encoding.Default; public Encoding DataEncoding { get { return ...
Grizzy's user avatar
  • 3
0 votes
0 answers
172 views

I am trying to implement TCP communication in a Windows Form App. The user clicks a button and a command is sent successfully, but I am having trouble getting the result of the command back using ...
Breadman10's user avatar
1 vote
1 answer
57 views

I am connecting to a remote Telnet Server using TcpClient and Networkstream, as long as the expected answer is delivered from the server everything works fine - however I would like to add a timeout, ...
Manuel's user avatar
  • 675
0 votes
0 answers
76 views

my current implementation contains a public propriety that is binded to a toggle button { get => _isListening; private set { if (_isListening != value) { ...
federico's user avatar
0 votes
1 answer
116 views

I've a use case where I need to send messages to an external TCP Server with 2 IP/ports for Round Robin distribution (each connection for each pair of IP/port, and it should be keep-alive for message ...
ShadowStorm's user avatar
0 votes
1 answer
51 views

I developed a basic memcache get and set implementation in c#. When i run a test, everything works as expected, when the test is run on another machine than the memcache server. When i run the same ...
Dryzler's user avatar
  • 17
0 votes
0 answers
123 views

I have a TCP Socket implementation in Kotlin and use the code below to read a String (using a BufferedReader): val readBuffer = BufferedReader(InputStreamReader(socket.inputStream)) private fun ...
Flock Dawson's user avatar
  • 1,888
-1 votes
1 answer
438 views

We've implemented a Socket Client in Kotlin to communicate with a Payment Terminal in the same local network. It works like the following: We open the Socket connection, the Payment Terminal responds ...
Flock Dawson's user avatar
  • 1,888
0 votes
1 answer
55 views

I would like to unit test the WpaConnection class which contains multiple continuous tasks. Starting of these task is dependent on TCP connection. I would like to gather some information on what would ...
Hamza's user avatar
  • 5
0 votes
1 answer
467 views

I have this simple code: var IdTCPClient1: TIdTCPClient; IdTCPClient2: TIdTCPClient; begin IdTCPClient1 := TIdTCPClient.Create; IdTCPClient2 := TIdTCPClient.Create; IdTCPClient1.UseNagle :=...
R.Schirru's user avatar
0 votes
0 answers
52 views

I am able to connect to the server and receive message. When I send a message, in my logs I keep getting the message that the message is sent successfully, but it is not being reflected on the server'...
Gurpreet Singh's user avatar
0 votes
0 answers
154 views

I am writing a little TCP client, which sends a "query" to home music server and gets answers. There also are answers emitted by the server with no queries ("broadcasted" - like ...
Abram's user avatar
  • 19
2 votes
1 answer
1k views

From docs: When NoDelay is false, a TcpClient does not send a packet over the network until it has collected a significant amount of outgoing data. Because of the amount of overhead in a TCP segment, ...
user2650277's user avatar
  • 6,779
1 vote
1 answer
55 views

I try to receive my webcam feed in Unity over TCP and assign it as a Texture2D to my plane. It works really well but it is flickering, so my guess is that the texture is loading in empty textures ...
potu1304's user avatar
  • 109
0 votes
1 answer
155 views

As a network client I would like to follow the input from two TCP connections. Both servers send a few packets per second. Each packet is small in size when compared to the available bandwidth. ...
Pascal de Kloe's user avatar
0 votes
1 answer
230 views

There is a requirement. We have to connect to tcp server. We are acting as a client. Will initiate a logon massage to tcp server. After successful logon they going to push data to that tcp server. So ...
Kranthi Kumar's user avatar
4 votes
0 answers
3k views

I have two .NET 8 C# applications communicating with one another from two separate servers. I am attempting to use SslStream secure TCP. I am getting an error re: the Authentication between the two ...
codeMonkey's user avatar
  • 4,957
0 votes
0 answers
74 views

I am currently trying to create a simple TCP Peer2Peer communication between two computers via Swift. On my on computer it works fine, but when I move one instance to another computer, it receives ...
binsBen's user avatar
1 vote
1 answer
319 views

I am using boost asio to connect to a TCP Server. When I run the code it works fine after start. I send the request and get the response. When I turn off the tcp server (it is a device) I am running ...
otto's user avatar
  • 2,075
1 vote
1 answer
244 views

string DeviceTCPIP = "168.34.15.249"; string BackData; string TextMessage; int DevicePort = 5600; void ReadCard() { this.threadListen = new Thread((ThreadStart)(() => { ...
Hakan Demir's user avatar
1 vote
0 answers
54 views

I want to retrieve data via TCP, but the data obtained becomes the presence of new lines. However, if you use other tools such as putty, the results look good. Where do you think the problem?. Thank ...
Mail's user avatar
  • 11
0 votes
0 answers
106 views

I want to retrieve data via TCP, but the data obtained becomes the presence of new lines. However, if you use other tools such as putty, the results look good. Where do you think the problem lies. ...
Mail's user avatar
  • 11
0 votes
0 answers
227 views

I'm trying to set up a job make a load test on a TCP server. The idea is for each 'client' to connect to the server, send a message and close the connection (without waiting for a response). Doing ...
Leonardo Guarezi's user avatar
0 votes
0 answers
44 views

i always getting crash issue when trying to receive string value from TCP Server-Client, can someone fix it?? struct request_data_t { int Mode; bool boolean; int value; std::string ...
Mika Cybertron OFFICIAL's user avatar
1 vote
0 answers
145 views

I have a Netty game server that sends JSON messages with a null delimiter. I had an AS3 client communicating correctly with that server but our new Unity client can't communicate properly probably due ...
berkayk's user avatar
  • 2,398
2 votes
1 answer
173 views

I am trying to listen to a TCP server I have no control over (it is a local windows app broadcasting every 500ms on a fixed socket). I can set up a reader to get a random length packet in blocking ...
ilnadi's user avatar
  • 43
1 vote
0 answers
42 views

I am new in TCP IP client server communication. import net from "net"; private static server: net.Server; private static socket: net.Socket | null = null; private static createTCPServer(): ...
Prashant Kumar's user avatar
1 vote
0 answers
142 views

I would like to set TCP_KEEPIDLE, TCP_KEEPINTVL, and TCP_KEEPCNT settings using C# .NET Standard 2.1 System.Net.Sockets.Socket class in C# (that is accessed by TcpClient.Client). Socket....
user1757226's user avatar
1 vote
1 answer
314 views

I want to send two files to the client, the first file is img.jpg and the second file is message.txt The first file img.jpg is received correctly, but the file message.txt is received with size zero ...
boost's user avatar
  • 13

1
2 3 4 5
52