damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

Cannot use sockets #96

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

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

Copied from original issue: damonkohler/android-scripting#626

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

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

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

Moved to: Issue python-for-android:49

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