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 / July 2006

Tip: Looking for answers? Try searching our database.

Socket Problem

Thread view: 
avdhesh.java@gmail.com - 13 Jul 2006 12:00 GMT
Hi all

i have written a program in which there is one client and one server ..
i write data onw server and read that data on client site..
everything works fine for some time ....but after some time everything
hangs...
nothing is displayed on the client...
what may be the resaon..

please help me
with regads
Matt Humphrey - 13 Jul 2006 12:23 GMT
> Hi all
>
[quoted text clipped - 4 lines]
> nothing is displayed on the client...
> what may be the resaon..

Most likely you're not flushing the write buffer or the client and server
are out of sync with respect to how much data should be read.  You will need
to post your code (or a short example that demonstrates the problem) in
order for anyone to give you more detailed help.

Cheers,
Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/


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.