directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron Ross <>
Subject Problem send long to client connected with DatagramAcceptor
Date Fri, 20 May 2005 19:40:04 GMT

I'm trying to send a CRC checksum back to a client connected to my 
server throguh a DatagramAcceptor using the following:

long crc = 1234;
ByteBuffer writeBuffer = ByteBuffer.allocate(8);
writeBuffer.putLong(0, crc);
session.write(writeBuffer, null);

The client (written in C) receives 8 bytes as expected, however the 
receive buffer is empty.

Any suggestions?

Cameron Ross.

View raw message