Skip to main content

Questions tagged [tcpclient]

.NET Framework class, providing client connections for TCP network services.

0 votes
0 answers
40 views

TCP Client NetworkStream ReadAsync Hanging

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
26 views

C# TcpClient Networkstream read timeout - Recognize a String from ReadAsync (Telnet)

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
  • 645
0 votes
0 answers
47 views

keep track of TCP client connection status

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
45 views

Spring Integration TCP Client unable to receive messages from external TCP Server

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
18 views

Memcache SET command does not work on localhost but from remote machine

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
25 views

Read a String with TCP Sockets in Kotlin

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,868
-1 votes
1 answer
108 views

TCP Socket implementation in Kotlin

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,868
0 votes
1 answer
40 views

Unit testing a class that contains multiple continuous tasks at the background

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
96 views

Delphi Indy IdTCPClient ReuseSocket is getting "Socket error # 10048 - Address already in use"

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
23 views

How can i implement a client in .net with dotnetty that makes requests over tcp and waits for response?

I am developing an application in .net that acts like a tcp client that needs to keep a connection open to one external system, which eventually sends events that hace to read. For this I use the ...
Miguel Santos's user avatar
0 votes
0 answers
40 views

I am sending message to server via TCP connection, but it is not showing in the server's log

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
62 views

A TCP client in Go - what to choose: conn.Write(data) or Fprintf(conn, data)?

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
  • 11
0 votes
0 answers
20 views

Handcrafting TCP Handshake

In order to experiment with tcp handshake, I want to handcraft one in a way such that I control sending each packet of the tcp handshake. I tried it with scapy >>>syn_packet = IP(dst="&...
babybrain's user avatar
0 votes
0 answers
23 views

Issue with Fetching Data from GitHub.io via TCP

I'm encountering an issue while trying to fetch data using a Cavli Inc. LTE CAT1.bis Module (Model: C16QS) from a GitHub.io hosted server. Below is the sequence of AT commands I'm using and the ...
Arpit Sakhreliya's user avatar
2 votes
1 answer
192 views

When to disable Nagle's algorithm for TcpClient?

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,591

15 30 50 per page
1
2 3 4 5
171