I am new to the concept of web socket connections and this would be of real help to me. I have XAMPP running on a local machine. How can i connect via a socket to the APACHE server on this machine ? I am not getting any leads. Is there a tutorial to set that up ? Also how do I control what happens when a socket connection is made towards the server side ?
Asked
Active
Viewed 73 times
0
-
2Your message seems to be too vague. As a first step, try to read this Q, it could be usefoul for you: [What is the difference between a port and a socket?](http://stackoverflow.com/questions/152457/what-is-the-difference-between-a-port-and-a-socket) – ArtMat Feb 18 '13 at 22:42
1 Answers
1
It sounds like you want to connect to a web server on localhost and fetch a document from it. The easiest way to do that is to not worry about interacting with sockets directly and instead use a prepackaged web client library, such as LWP or LWP::Simple.

Dave Sherohman
- 45,363
- 14
- 64
- 102