A network socket is network interface- an endpoint of an inter-process communication flow across a computer network. As sockets are the basis of all networking, this is for questions about how to use this low-level interface when programming on the Pi, in any language.

learn more… | top users | synonyms

0
votes
0answers
6 views

Socket programming, attributeerror '_socketobject' object attribute 'bind' is read-only [migrated]

I'm trying to make a project where i send messages to my rpi from an android phone using sockets and print it on the screen. The raspberry pi acts as the server while the android device is the client. ...
1
vote
0answers
32 views

Asynchronous Socket Server and UART integration problem [closed]

I'm developing a raspberry pi socket server that when receiving the data it sends it to UART and when receiving a data from UART it sends to the server via sockets using python . It's like Raspy ...
-1
votes
1answer
927 views

how to receive incoming data from tcp socket

I need to catch incoming data from tcp socket at any time and then execute a python script on my Raspberry Pi. How do I do that? I hope that you understand what i need to do.
-1
votes
1answer
61 views

AF_BUS on Raspbian

Dear RPI SO Community :), I want to try the AF_BUS Patch but I don't get what I need exactly for it. AF_BUS optimizes the performance of D-Bus in latency and throughput and I am working on a ...
1
vote
2answers
2k views

running npm install throws permission error

Following these directions to install nodeJs and socketIO on a Raspberry Pi http://www.bartbania.com/index.php/build-your-own-google-tv-using-raspberrypi/ When I try running npm install get the ...
1
vote
1answer
565 views

C++ / javascript Socket controlled car [closed]

I'm trying to use C++ sockets to control my rpi car/tank , but I'm a bit confused . My goal is to have an html interface with a onscreen joystick , and use javascript to send X and Y coordinates ...
3
votes
1answer
1k views

Communicating between two Raspberry Pi's

I'm working on a project that uses two Raspberry Pi's. The idea is that I have one running at home, which stores all the files that I need to execute. I will take the other Raspberry Pi along to ...