File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Urgent!!!!!!!!!!!!!!!!!!!!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Urgent!!!!!!!!!!!!!!!!!!!!!!!!!" Watch "Urgent!!!!!!!!!!!!!!!!!!!!!!!!!" New topic
Author

Urgent!!!!!!!!!!!!!!!!!!!!!!!!!

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
I am writing application.I want help in method which can create only connection to server port. I have server port number 8080.
Please explain me with simple example:

Thanks in advance
angela
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Assuming you have a webserver set up on your pc with a listener configured for port 8080 the code is something like:

Hope this helps

[This message has been edited by Carl Trusiak (edited December 01, 2000).]


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Hi Carl,
Please help me out in following:
I have created very simple applet which gives 5 textboxes and one button.I want following:
When I click button, it client should make connection with server and send reauest file as an string to server.then server should listen the request and response back to client. I want this all in one applet only...
Thanks a bunch in advance!!!1
Angela
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Urgent!!!!!!!!!!!!!!!!!!!!!!!!!