Questions tagged [tcpclient]

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

2541 questions
0
votes
0 answers

Persistent TCP Client in Android App doens´t receive data

I have an ESP8266 12F in Soft AP mode(Server) and trying to connect my Android App to it in persistent mode(TCP). I'm trying with this code and I can send data but not receive the answer an I know that the answer is being sent because I'm sniffing…
E_Blue
  • 1,021
  • 1
  • 20
  • 45
0
votes
1 answer

C# TcpClient reading or getting incomplete data from stream

I have an exe which simulates a video stream. I connect to it and very occasionally read the expected data, but usually I get only the first 28 bytes and then 65508 bytes of zeros. Assume the video stream is working correctly. TcpClient tcpClient =…
0
votes
1 answer

Javascript client for net.tcp connection?

Is there any way that I can write javascript that runs in the browser to create client code and connect to a net.tcp service endpoint and port? For example, I know that a service contract is exposed at the endpoint…
Fuzzy Analysis
  • 3,168
  • 2
  • 42
  • 66
0
votes
1 answer

TCPClient and TCPListener only listening not sending

Hi I am currently in the process of making two programs, one of the is designed to act as a server and one of them is designed to act as a client. I am currently having an issue, where the server can receive messages from the client but is unable…
0
votes
1 answer

NetworkStream.BeginRead when client connection is broken

Ive got a TCP client stream that is being read via async call NetworkStream.BeginRead (passing an async call back delegate). The problem is to detect when the connection is down. Currently if the connection is cut the BeginRead call just…
Ricibob
  • 7,505
  • 5
  • 46
  • 65
0
votes
1 answer

Is it possible to connect to Node.js's net moudle from browser?

i want to make TCP server with Node.js and then connect it from browser without http , express and socket.io moudles. something like what i do in java or c# but this time from browser.
0
votes
1 answer

Establish http connection through seperate tcp stream

I am working on Client Server application. Client side uses Windows Networking API's to establish connection with server. There are many HTTP requests I am requesting,which can use persistent connection. However for one HTTP Request I have to send…
cc125
  • 13
  • 1
  • 5
0
votes
3 answers

Why my program is going on Infinite loop when i am trying to read multiple line input from TCP Server

This is my TCP client java code: socket = new Socket("127.0.0.1", 8088); out = new DataOutputStream(socket.getOutputStream()); inputStream = socket.getInputStream(); inputReader = new BufferedReader(new InputStreamReader(inputStream)); String result…
0
votes
1 answer

NUCLEO-H743ZI2 lwIP TCP Connection

How can I establish a TCP Connection with an NUCLEO-H743ZI2 ? I managed to establish a simple TCP Connection with a NUCLEO-F429ZI and my PC using the lwIP stack (without FreeRTOS). The NUCLEO-F429ZI was the client and connected to a server, which…
Ambadrant
  • 45
  • 1
  • 7
0
votes
0 answers

Failed to listen on prefix 'http://IPAddress:Port/' because it conflicts with an existing registration on the machine

The ACOPTesterListener method works great the first time a message received on listener URI, but fails with a data exception error on the subsequent execution of the GetContext with the following message: Failed to listen on prefix…
Paul
  • 93
  • 2
  • 11
0
votes
1 answer

How to manage a NodeJs TCP Client

I am working on a machine with Arduino motors for rotation on yaw and pitch axis. Also I have a nodejs server implementation to send data to machine (list of coordinates). For this purpose I have implemented a TCPClient class in TCP_Client.js as…
dramaticlook
  • 653
  • 1
  • 12
  • 39
0
votes
2 answers

TCP client stream

I'm comunicationg with a email gateway. That gateway has an specific ip and port. The requests the gateway are JSON formated and the gateway normally responds first whith an proceeding state and then with a confirmation or error state, represented…
RedEagle
  • 4,418
  • 9
  • 41
  • 64
0
votes
0 answers

TCP server and client at once

I am trying to create a blockchain example where all clients work as a server and a client at once. I have a thread which constantly listens for incoming connections and when a client is accepted, it creates a thread which reads the incoming data…
starjv
  • 1
  • 1
0
votes
1 answer

Low Level TCP/SSL protocol for db2

I'm working with some legacy piece of software that uses its own client implementation to db2 on top of TCP. Is the protocol to access db2 via tcp/SSL open and documented somewhere? Or the only way to get some knowledge is to reverse engineer it by…
St.Antario
  • 26,175
  • 41
  • 130
  • 318
0
votes
1 answer

Why is my TCPServer not accepting multiple client connections?

I have written below TCP server, I don't know why handler is not supporting multiple TCP client connections. import socket import sys import ast # Internal imports import core try: import fcntl except ImportError: fcntl = None import…
Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197
1 2 3
99
100