Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > writeBytes hanging on SSL connection?

Reply
Thread Tools

writeBytes hanging on SSL connection?

 
 
Joshua Jung
Guest
Posts: n/a
 
      10-04-2006
I currently have what I once thought was working code for an SSL
client/server connection.

Its simple, straightforward "from-the-book" code, but for some reason,
whenever I try to send something from the server socket's data stream to
the client, the writeBytes (or writeUTF) method hangs. It's like its
blocking waiting for something.

To make things weirder, the client can send any data to the server just
fine.

Why would writeUTF or writeBytes hang like that?

Josh <><
 
Reply With Quote
 
 
 
 
EJP
Guest
Posts: n/a
 
      10-05-2006
Write on any socket will block if the reader isn't reading, once you
have filled up the socket send buffer.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: SSL handshake hanging, despite bugfix in stdlib Terry Reedy Python 0 06-25-2012 08:19 PM
Re: SSL handshake hanging, despite bugfix in stdlib Terry Reedy Python 0 06-24-2012 05:12 AM
SSL with backend SSL on CSS 11500 Olivier PELERIN Cisco 0 08-30-2004 08:30 PM
How to imbed non-SSL links within SSL pages without using code CW ASP .Net 2 05-02-2004 01:40 PM
From non-ssl area to ssl ara with a virtual href path? 620 ASP .Net 2 01-06-2004 09:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57