2,552 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
84
views
Why does the NetworkStream.ReadAsync call end the loop
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.
...
0
votes
1
answer
114
views
C# .NET TcpClient.Connect and timeouts
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....
1
vote
0
answers
50
views
Poco Net ConnectionRefusedException when connecting a StreamSocket on a TCP port different from 80 [duplicate]
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....
-2
votes
1
answer
109
views
Stored procedure fails with transport error message
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 ...
0
votes
0
answers
67
views
What will happen if I send 2 SYN packets to the server together with same 4 tuple but different sequence number?
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?
1
vote
1
answer
109
views
Ping/Pong message system in Java between clients and a server over TCP sockets
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 ...
0
votes
0
answers
344
views
Socket connect() function waits for a long time, how to avoid this? [duplicate]
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 ...
0
votes
0
answers
121
views
How do I receive multiple responses to a single TCP/IP request?
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 (...
0
votes
0
answers
73
views
RESET ACK after client hello, ack
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 ...
0
votes
1
answer
181
views
Gstreamer create RTP stream
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 ...
0
votes
1
answer
113
views
Client disconnecting right after the connection has been made [closed]
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 ...
0
votes
1
answer
169
views
Is there a way to simulate an SQL Server with C#? [closed]
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 ...
0
votes
1
answer
508
views
Certificate revocation and CRL with status unknown
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, ...
0
votes
0
answers
132
views
TcpClient object does not close in MAUI on Android
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 ...
0
votes
1
answer
138
views
TcpClient connecting even though no TcpListener is running
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 ...