Questions tagged [tcp]

Transmission Control Protocol (TCP) is a transport layer protocol that provides a connection-oriented data stream service with guaranteed, in-order delivery.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Sql Server 2014 TCP IP connection is too slow while Named Pipe connection is super fast

In My web application connection string when I use np: before data source (named Pipe) parameter, the application performance is very fast i.e. in milliseconds the connection opens and transaction ...
0
votes
0answers
8 views

Problem with AT+CIPSTART don't connect, say: ERROR CLOSE

I am trying to connect an ESP8266 01 (Controlled thru an Arduino-UNO) as a Client to an ESP8266 setup as an Server via TCP with AT-Commands. I have tried it with AT+CIPMUX on 1 and 0 and with every ...
0
votes
0answers
26 views

Max. number of TCP/UDP sockets in Windows Server 2019

I'm used to develop on mac with the C programming language. But now i want to try the Windows Server 2019. My plan is to create a simple dns server with C in that case i will be using the TCP and UDP ...
1
vote
0answers
17 views

Python, tcp server multi thread

i have problem with multi thread of TCP Server and client. why will the 2 client not be connected to the server. it works if i only use 1 client. if i add more then number 2 client. it will come to ...
-1
votes
0answers
22 views

Socket Accept hangs after 51k accepted connections on linux [on hold]

During load testing of Tcp Server I faced problem with a limit of accepted connections on linux. Server can't accept more than 51k connections. Case is very simple. Environment and preconditions: ...
0
votes
1answer
31 views

Does TCP Socket Implementation Work Differently in Xamarin.Android?

I am trying to make a TCP connection in my Xamarin Android app using System.Net.Sockets.TcpClient. The connection is perfectly fine when I do it on a console application. However, when I used the ...
0
votes
0answers
12 views

Interfacing BS230 with mirth connect

I try to interface biochemistry analyzer mindray bs-230 with tcp listener in mirth connect but receiving results from the analyzer is ok but when I want to query message back to analyzer with tcp ...
0
votes
0answers
14 views

In what senario is sequence number in a tcp connection wrapped around

I captured tcp packets transmitted between two linux devices ,the captured file was opened with wireshark with absolute sequence number option turned on. The sequence number seems odd, it start with ...
-1
votes
2answers
21 views

UDP can listen but TCP fails

I want to build a TCP connection with my master and slave (Both CentOS 7). For example, my nodes' IPs are IP1 and IP2. I can ping each other successfully. But I cannot establish the TCP connection. So ...
0
votes
1answer
26 views

Async TCP server, connections not closed [on hold]

I have build a TCP server following the "High Performance .net async socket server" example, and I have a server that is running very nice. The only issue is that after a while, a lot of connections ...
0
votes
0answers
26 views

Docker Container Connect to MSSQL: Worked Yesterday

I am new to docker and getting very confused. Yesterday, I set up a MSSQL docker image and it is running. Some output of docker ps -a: IMAGE: mcr.microsoft.com/mssql/server CREATED: 25 hours ago ...
-2
votes
0answers
9 views

What is the detailed example (with procedure) of Client Server Architecture? By using any of the System (login system, booking system etc.)

I know about the client server architecture but i need to know about the process with system workflow like for login system which user insert username and password then how that data will go to ...
1
vote
0answers
8 views

No response is getting after modifying the packet payload using scapy

I am trying to modify the ftp response from a file server using a proxy as man in the middle. I am using scapy for this purpose and filezilla as my file client. I am modifying the payload by editing ...
1
vote
1answer
34 views

How to correctly set the hostname for the TCP/IP adapter on the ESP32

Problem Espressif's ESP-32 (specifically the ESP-WROOM-32 in this case) appears on a network with the default hostname "Espressif". I don't want to use this hostname, so I've opted to change it as ...
0
votes
1answer
27 views

panic: dial tcp 127.0.0.1:3306: connect: connection refused

I'm trying connect mysql server from docker using golang gin gorm. The build itself has succeeded, but as shown in the title, the following error has been issued. panic: dial tcp 127.0.0.1:3306: ...
-2
votes
1answer
17 views

Unable to close Established db connections

iam running my application in Linux server, when it is running there are almost 100's of connections are getting established and not getting close. tcp 0 0 s233683dc4v133.ushrnd:57094 ...
-2
votes
2answers
50 views

How large should UDP or TCP buffer size be on Linux?

I need to write a couple of C++ applications on Linux, one to receive data via UDP and the second TCP. The only thing I'm unsure about is regarding the buffer. How do I choose what size buffer? If ...
0
votes
1answer
31 views

Choppy Audio with Naudio and TCP Stream. Buffer Full Exception

I am attempting to stream audio using Naudio over a TCP connection. The problem is the audio sounds choppy. I believe this is because I am getting an exception saying the buffer is full when I try to ...
0
votes
1answer
37 views

tcp network not work after build the game in unity

I implement the tcp network on my game wen i make the test on editor every thing is work but after the build nothing work. I have try multipe times change the code to make it work but , it seems i ...
1
vote
0answers
26 views

TCP/IP Connection between 2 partners - port for sending, another port for retrieving messages (is this even practical) [duplicate]

I really hope this question is not super stupid to ask, but after hours of research without any solution i just had to ask my question here. Normally im establishing TCP/IP connections to communicate ...
0
votes
1answer
20 views

what binary value would attacker search for in wireshark to detect TCP segments?

If an attacker had to write code to automatically detect TCP segments that contain data based on the binary value of the flags field, what binary value would they search for?
-1
votes
1answer
66 views

sending empty buffer from client to server [on hold]

I am trying to send file from client to server. I read line by line and send it to server. When the line is empty, after I call send() function in client for sending the buffer (empty line) my client ...
1
vote
1answer
21 views

How many bytes in one round-trip for an HTTP/2 browser request over mobile networks?

I’m working on a site with the goal of being as fast as possible. This goal requires letting mobile clients make the initial HTTP request in one round-trip. (HTTP/2’s HPACK should take care of ...
0
votes
0answers
25 views

Throughput Plot in OMNeT++ for a Wireless Network with TCP as Transport Layer Protocol

I want to plot the throughput of a wireless network that uses TCP in the transport layer. I have invested a lot of time in finding any feasible solution but none of them have worked so far. I ...
0
votes
1answer
27 views

Does this code support Mutual authentication and if yes how to trigger it?

Refer http://java-buddy.blogspot.com/2016/07/java-example-of-ssl-server-and-client.html So I have tried the same procedure of running the client and server code by passing the keystore to server and ...
-2
votes
0answers
13 views

How to change plain socket to SSLSocket. What is the library to be used if using Java 8 or above, to support latest version of TLS? [on hold]

I specifically want to implement SSL/TLS( Specifically 2-way SSL/TLS )just for a TCP Socket connection. I am having an existing code with plain socket. https://blogs.oracle.com/java-platform-group/...
-1
votes
1answer
40 views

Why do port numbers conflict? Like Skype and WAMP? [duplicate]

I just started PHP. And when I was installing WAMP which will become my first local server. I got a problem running inside my computer. Skype was using port 80, while WAMP also tries to use that port....
0
votes
0answers
12 views

Is there a valid solution to the Two Generals' Problem? [on hold]

Are there solutions to the Two Generals' Problem: https://en.m.wikipedia.org/wiki/Two_Generals'_Problem? What are the restrictions for solving this? I have a proposed solution but I don't know if it'...
0
votes
0answers
58 views

Netty - How can I send additional request to Server and return response into Bytebuf

Here is the step how the program should work: Client send the request over my TCP Proxy Netty Server First TCP Netty Stack always open a listening socket to listen the request from Client First TCP ...
0
votes
0answers
26 views

Socket get last ACK interval for ongoing data?

Sometimes when reuse a socket, check the socket healthy may be better. Socket may be lost in sometimes, it try to retransmit data before timeout, but nothing ACKed. Can I just get the last ACK ...
0
votes
1answer
15 views

How do I code for an AWS ELB health check in a bespoke TCP applicaiton?

We have a bespoke application built using asio that uses both TCP and UDP. We have deployed our application to AWS and are using a network load balancer. The network LB is performing health checks ...
-1
votes
0answers
16 views

TCP port 111 remains in ESTABLISHED STATE even the client closes the connection [closed]

The SUN-RPC port 111 never closes and remains in ESTABLISHED STATE causing DoS Service To Simulate this behavior issued a dummy connection $ telnet myserver 111 Trying 10.63.33.245... Connected to ...
0
votes
1answer
25 views

Connection refused Error with python socket

I have hardware which has the ability to receive data/commands via ethernet or serial. I am doing socket programming in python to send commands to the hardware. Everything works fine, but once I ...
0
votes
0answers
12 views

Sending image buffer to node.js tcp server

I am trying to send image data from my TCP client to my TCP server both written in node.js I have already tried doing it this way client: function onData(socket, data){ var data = Buffer.from(data)....
-1
votes
2answers
31 views

How to receive payload per payload on TCP Socket C#

I'm setting up a TCP Client with a network stream that receives payloads from a server, but some times this TCP Clients returns a chunk from the next payload when the server sends a lot of data I've ...
2
votes
0answers
54 views

Non blocking socket get errno without consume data?

Found this routine to check the socket states. ssize_t rret = recv(fd, buf, 1, MSG_PEEK) // check rret errno My question is, what will happen when socket has pending data and error at the same time? ...
0
votes
0answers
26 views

Website->Server PHP Socket Refused, but .NET Client Connects

The program that is running on the server is listening for a connection. It uses TcpListener from .NET. Using netstat, the port is listening. When using a tester data sender, the connection is ...
0
votes
0answers
9 views

Direct connection between Internet nodes behind masqueraders?

Is there any way to make direct connections (to reduce server load) between Internet nodes behind masqueraders? In practice, masqueraders are wifi routers or modems. Can the problem be solved in ...
0
votes
1answer
23 views

How to test ICMP in my stack over TAP device?

I'm writting code to implement a simple TCP/IP stack over TAP device. But when I want to test ICMP code, I find that ping $(TAP IP) won't send packets to TAP device. It always sends them to loopback. ...
-5
votes
1answer
60 views

C Program, send back to client [closed]

I'm trying to create a Server and client. My qustion is it works with 1 client. But then i add more than 1 Clients server side is freeze. I think it's on the line here: send(newSocket, name, ...
0
votes
1answer
30 views

ucrtbase.dll crash on c++ windows embedded standard involving tcp communication

I am developing a software for windows embedded standard x64 (win 7) and keep getting a ucrtbase.dll crash. I would like to know how to solve this. The application is going to receive data via TCP ...
1
vote
0answers
25 views

What is the IPP message to be POSTed to a printer in order to get its attributes and more?

I'm working on stm32 and trying to get a printer attributes through TCP, I'm reading the IPP documentation and get to find the right message to send A client TCP socket is created and is connected to ...
1
vote
0answers
22 views

How to connect with wifi network using IP Address in iOS?

First of all i will explain what i want to achieve. I have a WIFI Bridge. Now right now I'm connected with that bridge via iPhone device. I can see the name of wifi bridge by going into setting and ...
0
votes
0answers
31 views

STM32 LwIP: make TCP Client wait for server creation

I'm using STM32 MCU with FreeRTOS and LwIP network stack. If the server is created. TCP client tries to connect to it, and after a successful connection to the server, two tasks are created and ...
0
votes
0answers
74 views

WCF/WPF Host has to approve new connection

I am working on a WPF/WCF chat application based off the one covered in this project: https://www.codeproject.com/Articles/25261/A-WCF-WPF-Chat-Application I would like to implement a way for the ...
0
votes
1answer
79 views

Multipath TCP for iOS using Xamarin

I have a multiplatform app in Xamarin which connects to the internet (using Phone's cellular network) for some purposes and then talk to a local WIFI network (without internet access ) for some other ...
-1
votes
0answers
26 views

Get source's full header including domain name of outbound web traffic using tcpdump

There is a situation with my host servers getting their mail IP address blacklisted randomly. Each time RBL/CBL reports it like as follows: Source IP = 192.168.1.10(my server IP address) Source Port =...
0
votes
1answer
55 views

language C, TCP Server and Client

I'm trying to create a tcpServer and tcpClient messages terminal. i run into a problem with some code i can't get to work I Follow aftr this guide here https://www.youtube.com/watch?v=BIJGSQEipEE ...
1
vote
0answers
18 views

tcp socket bind warning

ı have a problem. bind is contiunues giving warning. warning is here :Warning: socket_bind(): unable to bind address [10048]: Only one usage of each socket address (protocol/network address/port) is ...
0
votes
1answer
36 views

Why does MQTT keep disconnecting after it connects to a host on swift

I have produced an app that connects to a raspberry pi's own wifi network and sends a message to give some data to it. I was using the cocoamqtt Library found here but I couldn't find a way to know ...