I am writing a code to transfer files between two peers,
i m so thankful if ny1 will give me the code ,so i hv to integrate it with jxta application
Message was edited by: somkumar155
i have go to download section,but i can't see anything that show me about CMS like you say...can u give me some light...or u can give me link to the site....
you need to download
you can also use the sample with sockets (tutorial.socket) from the documentation.
you mean you can send rtp streams via jxta sockets.
And can connect on one peer a jmf transmit and on the other peer a
jmf capture and have real time video streaming.
Did you did that already?
you see project jxtacast is a sample very well
do you have any idea how to transfer rtp (JMF media stream, real time protoco, transmit) with jxta.
IÂ´m just checking out vujxdp, some adventure source understanding.
I have a now a clear an understanding how that should work.
But I still would like to now if someone has something clever already ready.
for file transfer in jxta u can use CMS (Content Management Service). it provides classes for sharing, unsharing and downloading files. CHEERS!!!!!!
hi thanks fr reply but i want code for the file transfer
u can go to the download section n download sample codes for cms. u can find SearchDemo.java,DownloadDemo.java or more... Else u can try www.koders.com to search the codes easily.
Have a look at the other projects, there is something to send
large files split up in smaller parts.
You also can send file directly:
dataTag, null, new FileInputStream(file), null));
But there is an restriction to about 8 KB fro sending a file
DonÂ´t know why, and know how to change that, probably you must
hack something in the orginal jxta source.
But shareing is also a good oportunity, just think of what happens
everybody get files he donÂ´t want to have.
You coud send a note that file are ready for shareing, so
other can download them
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.