Most voted "tcp" questions
29 questions
Sort by count of
-
5
votes1
answer221
viewsIs it possible to use Websocket connections in Apache?
With the emergence of Websockets in the browsers, I also had the interest to make some implementations in some applications. Of course with the idea comes the initial doubts. One of the questions I…
-
4
votes1
answer110
viewsIt is possible to access a port via TCP/UDP from a web application
It is possible to send data to a port (e.g.: 5151) via TCP or UDP from a site, on the front end, using Javascript for example. I’ve been searching for a while and the closest I’ve come so far is…
-
3
votes1
answer873
viewsWhat is Broken Pipe Error?
What does the Broken Pipe error mean? And also what would be a Pipe in computing? This error has occurred to me several times and in various programming languages even when using some programs like…
-
3
votes1
answer403
viewsftplib and pyftpdlib communication
I have a server (Fedora 29) at home running (as root) an ftp done in python with the ports 5000-5003 and 40000-50000 open, the machine is in DMZ import logging import sys from pyftpdlib.handlers…
-
2
votes0
answers29
viewsWhy is it that in socket programs, a TCP server always has more than one socket?
Personal someone could take me that doubt?
tcpasked 8 years, 7 months ago Gustavo Brigagão 71 -
2
votes1
answer31
viewsSocket.Beginsend Using a lot cpu
I have an online game server and have 600 online users, but the cpu is a little high (using 10~20% of 26GHz) and the profiler says that this line is using a lot of resources Socket.BeginSend(packet,…
-
2
votes1
answer78
views -
2
votes1
answer756
views -
2
votes1
answer257
viewsError trying asynchronous connection
I’m trying to do this way not to crash the application while waiting for the server to accept the connection. I saw that you can do with async and the await. But while trying to use them to wait for…
-
1
votes1
answer103
viewsSocket Asynchronous C# receiving more than one message at a time
I am developing a C# Dll that works with Socket TCP Asynchronous for the development of some tools I am working on, the problem appears when the client receives many messages in a short period, in…
-
1
votes0
answers94
viewsDetect When user disconnects Socket TCP Asynchronous C#
I am developing an Asynchronous TCP server in C#, but not how to make my system detect that the user disconnected or was disconnected for some reason and perform a procedure for removing it from the…
-
1
votes0
answers139
viewsClient chat It is not possible to read data from the transport link:
Hello everyone is the following I made a Tc Pque server I already concluded, in the last days I have been doing the client but is giving the following error Cannot read data from transport link: A…
-
1
votes0
answers155
views -
1
votes0
answers30
views -
1
votes1
answer143
viewsBufferedreader always returns null
Although some questions already exist with similar subject matter, I could not get an exact answer, so I turn again to Stack. I’m developing a client-server system, I already had the project…
-
1
votes1
answer70
viewsHow to control events in C#
Using the "Tcplistener" class I am "listening" to a port where several customers will connect. Until then quiet. To receive data from a client I used a Thread that generates an event whenever some…
-
1
votes1
answer558
viewsFind out which service is being used in port tcp C#
I created a Scan Port in C# (winforms), which is checking a range of ports, previously set, I can verify that the door is open, but my problem is this: I know the door is open, but I don’t know what…
-
1
votes1
answer932
viewsHow to perform functions simultaneously through a Socket?
I’m developing a program in Python that’s basically a Chat, just for training. I would like it to have functions like: microphone, webcam, message and screen sharing. I’ve managed to do each of…
-
1
votes1
answer545
viewsSocket in python
I’m doing the discipline of networks and computers and I’m having trouble on the following question: Using TCP, deploy a server that offers two features: uppercase and Daytime. The client, when…
-
1
votes2
answers226
viewsPowershell file output. CSV after Foreach
Good afternoon! I have a simple powershell scritp that performs the connection test between Omains controllers and their respective service ports as below: $servers = Get-Content -Path 'C:\DC…
-
0
votes2
answers206
viewsNetwork connections between processes within a machine
when giving the command netstat -na in the cmd of windows appear the network connections that are in progress on the machine. In my appeared several connections having as source and destination IP…
-
0
votes1
answer721
viewsMYSQL: ERROR 2027 (HY000): Malformed Packet
I am unable to connect a Mysql server remotely. The connection seems to be ok because with telnet [ip] [port] I get answer: 4.1.3b-beta-nt-max▒@\0v'[uZ,B{efSLa$,Q4N When run by command line or Mysql…
-
0
votes1
answer48
viewsTcp Server adds the client name to a lisbox
I have a server and a client, when the client connects it adds the Client ip to a server listbox, appears as if an item is added (in listbox) but does not appear ip, this is the code: using System;…
-
0
votes1
answer116
viewsnew networkStream what arguments to use?
is the following I have a server tcp and a client, the client has in a part of the code the following private void SendDesktop() { BinaryFormatter bf = new BinaryFormatter(); ns = new…
-
0
votes1
answer181
viewsSOCKETS IN C - TCP Sequence Number
I could use a little help with sockets in C. My teacher passed a job in which I must perform communication TCP between client and server where I must execute some rules.. 1 - The Client sends a…
-
0
votes0
answers730
viewsChat between two different computers
I’m new to this socket thing and I’m having trouble connecting two computers that are on the same network. When I run the client and the server on the same machine, it works... but when I do it on…
-
0
votes1
answer229
viewsHow to capture packets from a TCP connection using a proxy?
I’m writing a TCP proxy to capture packets sent from my computer to a remote server and vice versa. I connected a fake test server on localhost and Proxy works well, intercepting and directing the…
-
0
votes0
answers9
viewsJava Cling Port Redirection
Hello, I am trying to do port forwarding on my router automatically. For this, I am using the Cling 2.1.2 in Java. My code: package teste_cling; import java.net.ServerSocket; import java.net.Socket;…
-
-2
votes1
answer123
viewsTCP/IP protocol on Linux and Windows
The structure of the TCP/IP protocol may vary from Windows for Linux or even from language to language? the knowledge acquired about TCP/IP in the C++ language can also be taken into account in…