Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need info urgent  RSS feed

 
saravanan balakrishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm issuing one "PORT" command to UNIX server when i try to download file from the server and getting "java.net.SocketException:Connection Reset By Peer".
can anyone tell me why is it?and any solution for that particular problem?
thanx,
sara
 
Omar IRAQI
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your question is not clear enough!!!
What do you mean by one "Port" command ???
 
boba fett
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am with Omar. First by UNIX "PORT", do you mean an IP port that you have specified thru your Socket object and opened? Or some Unix utility "PORT" command or shell script. Is the "PORT" a java or unix topic for you. Well if it is a Java IP Port you have opened thru a socket or serversocket then you probally have a procedural issue. I mean that you need to check and make sure your logic is not prematurely exiting your execution before what you want to finishe is done, there fore closing the connection (socket) on that IP Port on your machine, while you may still request more reads, and its closed already. Do you have the whole operational execution based in the socket object, or in some other method? Can you post more info?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!