[xSocket-develop] nbc and reading incomming frames with bytes
Status: Inactive
Brought to you by:
grro
|
From: <jun...@wp...> - 2008-12-01 10:52:16
|
hi,
What method should I use to read whole data field of incoming Ethernet
frame? I tried readByteBufferByDelimiter but I'm not sure how to specify
delimiter. I want to read all bytes in data field. How to set delimiter
to read data until there is no more data?
ByteBuffer[] res2 = nbc.readByteBufferByDelimiter("");
System.out.println(res2);
regards,
sly
----------------------------------------------------
Pstryk i klik.
Na Pikeo.pl szybko zamieszczasz swoje najlepsze zdjęcia:
http://klik.wp.pl/?adr=http%3A%2F%2Fpikeo.pl%2Finstances%2Fwp%2Fstrona_01.jsp&sid=557
|