Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why I cannot initialize the input/output stream when I create two sock

Status
Not open for further replies.

oceandeep

IS-IT--Management
Jul 6, 2000
69
GR
Hi,
I am now using java to simulate the FTP function, I use port 4443 and 4444 to create two sockets. Both of them may have input/output stream. But once I generated the input/output stream for port 4443, I found that I couldn't initialize the input/output stream for port 4444.
Can anybody here give me some enlightment on how to deal with two socket? Thanks a lot!
Albert
 
Albert,

Your problem is not clear. You may have to post 'some' code to identify the parts that you are experiencing trouble with.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top