Christopher Schultz-2 wrote:
>
> Try calling "flush" on your output stream, and possibly even closing it
> if you have to.
>
> Any reason not to use java.net.URLConnection for this?
>
No, reason. It was just very simple and sockets seemed to be appropriate.
--
View this message in context:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dmitry,
Dmitry Kandalov wrote:
> Say I have code like this:
> [snip]
> socket = new Socket( request.getLocalAddr(), request.getLocalPort()
> );
> socket.getOutputStream().write( requestString.getBytes( "ISO-8859-1"
> ) );
> soc