Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

uninterruptible Socket client

Thread view: 
chris - 24 Jan 2006 06:02 GMT
Hi all,

  Now I'm writing socket client for communication to a server. My
socket client
act as a socket server on the other side, receiving data from other
server, and forwarding
it to another.
 I wonder, when socket client  sending data to a socket server, what
happen
when there is a disturb, such as socket server dead ? What happen to
the data ?
Is the data get corrupted ? I need to implement an algorithm, where
data
sent perfectly, even though socket client disconnected from server. I
need the client
can automatically reconnect to server socket, and send data that was
failed.

 How to implement this feature ?
oczek - 24 Jan 2006 07:18 GMT
> Hi all,
>
[quoted text clipped - 15 lines]
>
>   How to implement this feature ?

usually you'll get exception in that moment so you should
start sending procedure from the beginning.

oczek
chris - 25 Jan 2006 02:11 GMT
Thanks oczek for your reply. What do you mean by "start sending
procedure from the beginning ". What I need is a socket application
that can handle disconnected, and can save the data from being lost.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.