socket communication directly is AFAIK not possible, but if you want to send http calls you can do this (in 6.10 or higher based systems) with the HTTP client frmaework. See Online documentation about Internet Communication Manager.
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Add a comment