Questions tagged as 'socket'

1
answer

Receiving Data from a Streaming

I have a little problem and I would like your help. I recently had a question and I started to search about it but I did not find anything, I noticed that the video streaming services uses a "wowza" server and for that I wanted to receive the st...
asked by 11.05.2017 / 06:21
1
answer

What is the best way to connect to a web server using Java Web?

I'm working with a Java Web application, which will constantly grab a txt file, and update that data constantly in an HTML page, but I do not know what the best option to connect to a web server, should I use sockets or a connection per post wit...
asked by 10.04.2017 / 21:31
2
answers

Refresh page without losing the value of a variable

I have a vector that receives data coming from a socket that I use for notifications to the user, however every time I change pages I lose all the value coming from this variable, I'm using angular on the front end. How can I navigate the system...
asked by 04.03.2017 / 15:26
1
answer

Error: An operation was attempted on some item that is not a socket!

I was trying to make a simple port scanner, but when it found a port open, the errors that appeared changed from [WinError 10061] No connection could be made because the target machine actively refused them to [WinError 10038] An operation w...
asked by 11.03.2017 / 22:05
0
answers

How to create a socket in wildfly?

I need to create something that reads everything that arrives on a specific port and treat that information. An Ubuntu server with WildFly 10 running is used. The information passed is from the trackers (in this case it is Concox's CRX-1 and Sun...
asked by 08.02.2017 / 20:30
0
answers

Is there a way to connect to a socket server hosted as localhost by CMD?

I would like to know if there is any way to run my server in python socket and connect to it using the command prompt. Is there any way to do this?     
asked by 03.01.2017 / 16:08
0
answers

Android - Create a Socket in Singleton

Good evening, I am developing an android game in which to play online has to connect to the server. At first I was trying to create sockets in an Activity where the game will occur, but the app was crashing when creating. After some research, I...
asked by 18.11.2016 / 23:29
0
answers

invalid stream header: 00000000

Good evening. I'm trying to read all files from a directory on a machine (client) and send it to another machine (server) using Java Socket. However, at the end of the transfer I get the following error in the "server" application: java.io.Strea...
asked by 06.11.2016 / 22:35
1
answer

Transferring image via socket, the image turns black

My server sends a command to the client and the client sends a PrintScreen to the server using this code: Image printScreen = new Bitmap(monitorWidth, monitorHeight); Graphics graphics = Graphics.FromImage(printScreen); graphics.CopyFromScreen...
asked by 31.08.2016 / 21:22
0
answers

Client can connect to server but crash when receiving data

Here's the part of the error code: private void buttonAbrirConexão_Click(object sender, EventArgs e) { try { socketOfServer = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); socketOfServer.B...
asked by 30.08.2016 / 02:47