This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent!!!!!!!!!!!!!!!!!!!!!!!!!
 
Similar Threads
trying to connect to another ip adress
On which port i should recieve a UDP packet
Tomcat5.5
Just installed MS SQL Server 5 Express. JDBC connection failing
monitoring soap