Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7195469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:35:10+00:00 2026-05-28T20:35:10+00:00

My web hosting company is allowing only fsockopen function to create sockets. I am

  • 0

My web hosting company is allowing only fsockopen function to create sockets. I am building an Android Application that needs a TCP Server for transferring message. So my question is it posible to build a TCP Server with fsockopen and not using socket_create?. Any help or suggestions greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:35:10+00:00Added an answer on May 28, 2026 at 8:35 pm

    fsockopen() creates client sockets only. There is no way to create a listening socket with that function.

    The only ways to create listening (server) TCP sockets in PHP are with the Streams extension (see stream_socket_server()) – you may find that this is available as well – and the Sockets extension, which is less likely to be available.

    Even if you can create a listening socket you may find you are unable to do anything useful with it unless you have control over the server’s firewall, amongst other things.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building an application that needs to use a web server like a file
I'd like to deploy my ASP.NET MVC application to a web hosting company (like
I'm deploying a web application into a server (hosting company). The application uses Sql
I have a web-site that has a hosting at some popular hosting company. The
I am hosting my application on a web hosting service www.110mb.com. Can you please
I know that lots of web hosting providers are offering FreeBSD, but how good
My current web hosting company offers me unlimited traffic, space etc. Why should I
I have a web application that I'm writing (C#, MSSQL) and I need to
I have a web site which uses one SQL database but the hosting company
I'm moving from a shared web hosting company to a VPS. And I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.