All Questions
7 questions
0
votes
1
answer
635
views
Can't get the File Descriptor of a socket using Java
I'm new to Software Development and currently I am trying to get the file Descriptor of a socket, my job as an intern is to write a java Code (the new update) that has the same functions as a C Code (...
0
votes
1
answer
901
views
java.net.SocketException: Connection reset """
I am tiring to send byte encrypted data over the socket, however, It does not work, the requirement is the server reads the key from file and receives an encrypted message from client
I am facing ...
1
vote
1
answer
934
views
Seeking on an InputStream in Android - Java
I have a file transfer app that sends large files (few GBs in size) from Android to Windows over a socket connection. I am using content resolver to get input stream instance to the file stored in the ...
0
votes
1
answer
258
views
InputStream and BufferedReader
I'm doing a chat application between mulitples clients in C# who connects a single Java Server.
So I send a message by one of users to the server, and the server sends this message to all others ...
0
votes
1
answer
979
views
Socket get input stream reading wrong values few times
I have a Java Modbus/TCP application which is reading constantly data from a device.
This is working normal 99.9% of times, but after a weekend working, it could enter in a strange mode, in which for ...
1
vote
1
answer
2k
views
how to detect (shutdowninput in read)
In my Android app when closing the connection(like turning of WiFi) I'm getting an infinite number of this log message [cds] shutdowninput in read which interrupts my app and makes it do tons of ...
0
votes
2
answers
2k
views
Unable to read data from InputStream
I'm trying to learn java socket programming, but I have a trouble with the read function of InputStream.
At first, I created a socket to connect to the server. After the connection is established, the ...