-1
votes
0answers
25 views

android socket readObject EOFException [migrated]

In Android I make a siglenton pattern and when a send object the readObject the shows me the messaage: W/System.err(6034): Exception reading Streams: java.io.EOFException but when I put String I ...
0
votes
1answer
491 views

Java: How to manage UDP client-server state

I am trying to write a Java application that works similar to MapReduce. There is a server and several workers. Workers may come and go as they please and the membership to the group has a soft-state. ...
0
votes
1answer
305 views

How do I perform some actions in my Java program whenever a particular network interface comes up?

I wanted to perform some actions in my Java program whenever a particular interface comes up (network interface ppp0 e.g.). However I figured out it was way too clumsy to keep polling the interface to ...
-1
votes
2answers
789 views

Should I use simple socket programming to communicate between 2 threads? [closed]

Is it a good idea to communicate between 2 threads using sockets in Java? What I am trying to achieve is Inter-process communication using socket programming/RPC mechanism.
2
votes
2answers
1k views

Realtime (almost) bidrectional communication in Java

I will explain the context of the problem first. For a University project I'm going to implement an Android application. The Android application (and others) will be able to send data to a remote ...
1
vote
2answers
487 views

How to plan a client/server app networking architecture to cope with multiple unrelated exchanges of data?

I'm coding a server/client application pair in Java, as I learn about it. I have basic functionality of sending a message to the server and parsing it but in thinking about the big picture of their ...