Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Socat in Android

Tags:

android

socat

I would like to use Socat for my android app. Has anyone ported Socat under Android? Could not find any useful links. Any help would be great.

like image 860
Krishnan Avatar asked Feb 10 '12 20:02

Krishnan


People also ask

What is Socat process?

The socat utility is a relay for bidirectional data transfers between two independent data channels.

What is Socat Unix?

Socat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL).

What is Ubuntu Socat?

Socat is a command line based utility that establishes two bidirectional byte streams and transfers data between them.


2 Answers

http://www.dest-unreach.org/socat/doc/CHANGES : V 1.7.2.0 : porting : Cedril Priscal ported socat to Android (using Googles cross compiler). The port includes the socat_buildscript_for_android.sh script

like image 80
user1092559 Avatar answered Sep 21 '22 19:09

user1092559


FYI, socat for Android does not include support unix-socket connect. The build script has --disable-unix.

like image 22
Adam H Avatar answered Sep 21 '22 19:09

Adam H