Questions tagged as 'tcp'

1
answer

Error attempting asynchronous connection

I am trying to do this in order not to crash the application while waiting for the server to accept the connection. I saw what you can do with async and await . But when trying to use them to wait for the connection without crashing...
asked by 09.10.2017 / 04:42
0
answers

Is it possible to use Websocket connections in Apache?

With the advent of Websockets in browsers, I was also interested in doing some implementations in some applications. Of course with the idea comes the initial doubts. One of the doubts that have arisen for me is about Apache. Traditionally...
asked by 29.06.2017 / 14:37
0
answers

Why in programs with sockets, does a TCP server always have more than one socket?

Can anyone help me with this question?     
asked by 24.05.2016 / 20:51
1
answer

Tcp Server stops responding

This is the following I have been watching 2 tutorial of how to do a tcp Server and a tcp Client . I had to follow everything step by step but for some reason when I start the server it stops responding, but when the client connects it from a...
asked by 26.08.2016 / 11:21
1
answer

Find out which service is being used on tcp port C #

I created a Scan Port in C # (winforms), which is checking a range of ports, previously set, I can verify that the port is open, but my problem is: I know the port is open, but I do not know what kind of service is running on that port, is there...
asked by 13.03.2018 / 22:02
1
answer

BufferedReader always returns null

Although some questions already exist with the similar subject, I did not get an exact answer, so I turn to Stack again. I'm developing a client-server system, I already had the most advanced project, and I decided to start from the beginni...
asked by 08.12.2017 / 00:38
0
answers

how to open socket for a specific network on a machine with 2 networks [closed]

I have a machine with 2 network cards. How do I open a socket for a specific network?     
asked by 06.09.2018 / 14:45
1
answer

How to handle events in C #

Using the "TcpListener" class I'm "listening" for a port where multiple clients will connect. So peaceful. In order to receive data from a client I used a Thread that generates an event whenever any data is received. However when creating the ev...
asked by 08.03.2018 / 19:46
1
answer

Socket.BeginSend Using lots of cpu

I have an online gaming server and I have 600 online users, but the cpu is a bit high (using 10 ~ 20% of 26GHz) and the profiler says that this line is using many features Socket.BeginSend(packet, 0, packet.Length, 0, OnSendCompleted, null);...
asked by 28.12.2017 / 06:35
0
answers

Interface Lock in NetBeans

I am developing a program for client-server communication. I'm developing the graphical interface of the program based on JPanel / Forms . The client data is sent correctly to the server. My problem is when I go to fetch the data...
asked by 09.12.2017 / 13:01