Search:

Type: Posts; User: amit1983

Search: Search took 0.13 seconds.

  1. Replies
    0
    Views
    1

    DatagramChannel & NIO Selector

    Hi,

    - I'm using DatagramChannel and Selector.

    DatagramChannel channel = DatagramChannel.open();
    channel.socket().bind(new InetSocketAddress(9005));
    ...
  2. Replies
    5
    Views
    136

    Re: Record binary files

    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)...
  3. Replies
    5
    Views
    136

    Re: Record binary files

    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...
  4. Replies
    5
    Views
    136

    Record binary files

    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...
  5. Thread: Somq Q's

    by amit1983
    Replies
    1
    Views
    140

    Somq Q's

    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++)...
  6. Replies
    4
    Views
    206

    Re: Sending and Receiving Via Tcp And Udp

    Hi,
    Do you know the answers ?
  7. Replies
    4
    Views
    206

    Re: Sending and Receiving Via Tcp And Udp

    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...
  8. Replies
    4
    Views
    206

    Sending and Receiving Via Tcp And Udp

    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...
  9. Re: SLF4J with java.util.logging - How to set log into files

    thanks
  10. SLF4J with java.util.logging - How to set log into files

    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...
  11. Re: return value chaned when get back from function call

    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[],...
  12. return value chaned when get back from function call

    Hi,

    I have the following classes:

    public class CGenericData implements Serializable {}

    public class CGpsMsgData {
    public int x;
    public int y;
    public int z;
Results 1 to 12 of 12