• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Something about .... going for a swim. With this tiny ad ...
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!