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

  • Home
  • SEARCH
  • 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 4027268
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:04:32+00:00 2026-05-20T11:04:32+00:00

So I continue to work on my Android network scanner, and now on my

  • 0

So I continue to work on my Android network scanner, and now on my Android tablet I get this problem.

Using the following code, I get a successful connection.

Socket mySocket = new Socket(iIPv4 + i, port);

Using this code, it fails to ever connect.

Socket mySocket = new Socket();
SocketAddress address = new InetSocketAddress(iIPv4 + i, port);
mySocket.connect(address, 1000);

The problem is, I need to lower the timeout as seen via the .connect() function. 1000 is way too high, I just tried raising it for debugging purposes.

Anyone got any ideas?

  • 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-20T11:04:33+00:00Added an answer on May 20, 2026 at 11:04 am

    I found the problem. I needed to go into a memory manager and terminate the process manually in order to clear things up.

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

Sidebar

Related Questions

I continue to get this error: Object '%s' cannot be renamed because the object
This Android application on Google uses the following method to refresh the database after
i got this code off the internet, i suppose to get a list of
Should developers avoid using continue in C# or its equivalent in other languages to
Sometimes a labeled break or continue can make code a lot more readable. OUTERLOOP:
I have a script that I'd like to continue using, but it looks like
I have been developing my program on my desktop, and now want to continue
I'm beginning to think that to get a ProgressDialog to work the AsyncTask has
I have just come across this code: function test(){ //... if ( $profilerule ==
Will you guys tell me whether or not this solution will work before I

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.