darylbrewer / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Cannot use sockets #626

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on? Cruz reader 

What firmware version are you running on the device? 2.1

What steps will reproduce the problem?
1.Write a script using Python on sl4a that connects to your computer
2.Write a Python script that has binds a socket
3.Run the programs and the android tablet times out without connecting.

What is the expected output? What do you see instead?
Expected output is a connection and a test message from the sockets. Instead a 
got a connection timed out error.

What version of the product are you using? On what operating system?
SL4A on Android 2.1

Please provide any additional information below.

Original issue reported on code.google.com by J.Rhynor...@gmail.com on 8 May 2012 at 9:36

GoogleCodeExporter commented 9 years ago
a) Sockets do work and have been tested. However, built-in firewalls will 
prevent you from binding to sockets below 1024. Please supply some example code.

b) This is a python question, not an sl4a question.

Original comment by rjmatthews62 on 8 May 2012 at 11:53

GoogleCodeExporter commented 9 years ago
Moved to: Issue python-for-android:49

Original comment by rjmatthews62 on 8 May 2012 at 11:53