Showing posts with label socket. Show all posts
Showing posts with label socket. Show all posts

Monday, 13 February 2017

Finding the IP on a Pi using hostname

I was looking for a really easy method of finding the IP address on a Raspberry Pi.


I wanted a method I could use in a program to tell which bird box was returning data asynchronously.


And I was hoping to avoid having to hunt for the IP address string, buried somewhere in a block of text created by a command like ifconfig.

Tuesday, 23 August 2016

Using Sockets with Gambas

Sockets are defined as communication end-points, and relate to a means of computer comms using IP addresses and ports.


Sockets are generally used to send data between two computers on a network, but may also be used to communicate between two programs on the same computer.


This post provides a simple introduction using the Gambas Client and Server Socket components.