Hi,
- I'm using DatagramChannel and Selector.
DatagramChannel channel = DatagramChannel.open();
channel.socket().bind(new InetSocketAddress(9005));
...
Type: Posts; User: amit1983
Hi,
- I'm using DatagramChannel and Selector.
DatagramChannel channel = DatagramChannel.open();
channel.socket().bind(new InetSocketAddress(9005));
...
The propose of those requirements is to save write operations (it is better to write buffer of 1MB instead of 10 writes of 100K buffers)...
Thank's
Do you know if there is an implementation to those requirements in the net ?
I know that there is an implementation for logger (log4j) and I thought maybe there is an implementation for...
Hi,
In my project I need to record some structures into a binary files.
some requirements:
1. the recording need to be in a separate task (separate context)
2. the size of each binary file...
Hi,
1. Just to be sure, if I use serialization to send structure (with primitive variables) and send the structure to an application which was written in c++, then the other application (in c++)...
Hi,
Do you know the answers ?
Hi,
Thank's for your answer.
1. when I wrote: "I want to allocate all the necessary classes and variables at the initialization (and not at run time)." I meant that I cant (don't want to do...
Hi,
I want to to implement Sending and Receiving data (messages) via socket connectionד (TCP and UDP).
I want to use the same interface for the Sending and Receiving .
I want to allocate all...
Hi,
I'm very confused and yours help :)
I'm using SLF4J with java.util.logging (I add slf4j-jdk14-1.7.5.jar file into the path).
when I run this code:
public class CMain {
final static...
Hi,
Thank's for your answer.
1. What do you mean when you write: " change the *state* of the object the Receive receives" ?
(can you give me an example ?)
2. If I want to return byte[],...
Hi,
I have the following classes:
public class CGenericData implements Serializable {}
public class CGpsMsgData {
public int x;
public int y;
public int z;