Show Bid Request
JAVA socket error recovery
Bid Request Id: 48070
|
|
|
Posted by: |
InProd (22 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 20.51%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Feb 13, 2003 12:03:07 AM EDT
|
Bidding Closes: |
Feb 14, 2003 12:31:18 AM EDT
|
Viewed (by coders): |
138 times
|
Deadline: |
2/14/2003
TIME EXPIRED
|
|
|
|
Description:
I have a standalone Java program which uses sockets to get some data. The program should be able to recover from the communication medium (modem, LAN etc) failing or from the other end stopping for some reason.
The program loops waiting for the other end or the communication medium to be reestablished. Now, all this works fine IF the communications medium - in my case the modem connection, is up to start with. If then, it fails, then error recovery works fine.
If the communication connection is DOWN to start with, then the socket connection never establishes. I would appreciate any help.
Following are some code snippets:
s = new Socket( host, port );
out = s.getOutputStream(); in = s.getInputStream(); inCmd = new DataInputStream(in);
s.shutdownOutput(); s.shutdownInput(); out.close(); in.close(); inCmd.close(); s.close();
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Complete ownership and distribution copyrights to all work purchased.
Platform:
Windows Linux
Must be 100% finished and received by buyer on:
Feb 14, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$5 (USD)
|
Feb 13, 2003 1:59:22 AM EDT
|
10
(Excellent)
|
|
|
I can do this very comfortably. |
|
|
|
|
N/A
|
Feb 13, 2003 5:45:44 AM EDT
|
10
(Excellent)
|
|
|
I'm back and I'm happy to let you know that I have written the code few minutes ago. It does exactly what you want it to do. Let me know if we can do business. :-) |
|
|
|
|
|