Raspberry Pi – TCP Socket in Python


Video is ready, Click Here to View ×

Do you want to make your Raspberry PIs to talk to each other? Use socket in python. Code, and more info on:

Want to support me? Add an exclusion to Adblock!

Follow me on
Newsletter and RSS available on www.notenoughtech.com
Twitter: https://twitter.com/NotEnoughTECH
Facebook: https://www.facebook.com/NotEnoughTECH/
Google+: https://plus.google.com/u/1/b/100929858314316110553/+Notenoughtech0

Retrosoul -…

6 thoughts on “Raspberry Pi – TCP Socket in Python

  1. Hi there! Thanks for your tutorial but I am getting this error for the client side coding:
    Traceback (most recent call last):
    File "/home/pi/gdp/socket.client.py", line 6, in <module>
    File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
    socket.error: [Errno 111] Connection refused

    anyone can help me?

  2. thanks for your video
    i have this error in :
    typeerror: 'str' does not support the buffer interface.

    i am using rasbain and idle3 for python coding and i am new in this domain any help plz

  3. Hi, great tutorial there! As you mention towards the end of the video, if the connection is lost, you have to restart it. Any idea how to handle a disconnection and reconnect it back? Without having to restart it? I want it to be automatic and always detecting.

Leave a Reply

Your email address will not be published. Required fields are marked *