[jdev] Transfer File problem

programacion5 at prodigia.com programacion5 at prodigia.com
Fri Dec 10 06:46:04 CST 2004


Mail Prodigia Consultores S.L.My process is the following:

- I create the socket.

- I do 'CONNECT' with Streamhost (other machine directly) using this socket,
on IP address and port which streamhost sends to me.

- This connection completes successfully.

- I do 'CONNECT' with SHA1(streamid+initiatorjid+targetjid) hostname and
port 0, with the same socket I use for connecting with Streamhost before, it
returns it can't connect.

I don't know if I'm doing it well, I don't know what to do then.

Do I have to wait a success confirmation with second connection, or file
transfer begins automatically using socket_read?

Thanks.



 Jose Miguel Cantero .: Dpto. Programación Prodigia Consultores S.L.
www.prodigia.com
email: programacion5 at prodigia.com





More information about the JDev mailing list