• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

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
 
What's wrong? Where are you going? Stop! Read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic