This is homework ( a school assignment), is it?
Glassfish talks http, it sounds like you've been told to write a
client that can talk
to a webserver.
Look at the java.net.Socket class, you'll be wanting to open a socket
to the server and
print lines to that socket, and read the servers replies.
On Tue, Oct 7, 2008 at 8:57 AM, <glassfish_at_javadesktop.org> wrote:
> My problem is to make a data transfer with a http server but not an http client application, a tcp client application. i m using a java pc application that connects tcp not http the sub protocol is not any of tcp sub protocols so i want to change my tcp data to http and when http returns me response i want to change my http data to tcp.
> Thats all, i do not know that can be happen or not but i m investigating, researching about that subject. I have to use clustering and tcp http converter for my project. So thanx for any help.
> [Message sent by forum member 'circass' (circass)]
>
> http://forums.java.net/jive/thread.jspa?messageID=303664
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/