Solved

socket prog in java

Posted on 2006-11-06
5
251 Views
Last Modified: 2010-03-31
I am trying to learn socket prog in java. I was trying these for simple web proxy, but it did not work, any idea where would be the problem:

http://members.lycos.co.uk/mylittleme/java/ProxyCache.htm
http://members.lycos.co.uk/mylittleme/java/HttpRequest.htm
http://members.lycos.co.uk/mylittleme/java/HttpResponse.htm

compile: javac -deprecation *.java

Also any good helpful links to java sockets with examples would be helpful.
Thanks

0
Comment
Question by:FD11
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17879466
>>but it did not work

That really doesn't help us to help you
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 17879473
0
 

Author Comment

by:FD11
ID: 17879513
CEHJ,
what do you need to know, this was just an exercise and was trying to solve it. was looking here at this site with some examples:
http://www.cs.uic.edu/~troy/spring05/cs450/sockets/socket.html
with a link to this exercises that I was trying to solve.
http://www.cs.uic.edu/~troy/spring05/cs450/mp1.html

Objects, thanks for the links, I will look at them.

any further ideas, thanks
0
 
LVL 10

Expert Comment

by:fm250
ID: 17885285
Any further assistant!!!
0
 
LVL 92

Expert Comment

by:objects
ID: 17885305
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java virtual machine monitoring tools 3 40
array220 challenge 8 48
pairstar challenge 2 42
count11 challenge 6 49
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now