DataInputStream problem when run in different pc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moonloke
    New Member
    • Oct 2006
    • 1

    #1

    DataInputStream problem when run in different pc

    hi...
    I use ObjectInputStre am and ObjectOutputStr eam to transfer file from client to server. It works fine when i test it in the same pc. But when test using two pcs (one pc for client and one pc for server), the program just blocked at this statement ===> oin = new ObjectInputStre am(conn.getInpu tStream());

    why would this happen? Is the firewall will caused tz problem?
    Anyone knows the problem??
    thanks for ur help...
Working...