07-18-2016
There are plenty of tutorials available online to show how to launch applications on Linux specifically on a Raspberry PI. Launch your R-PI and try to run few applications that comes installed with the OS, you'll get a fair idea. Give it a try and let us know how it went.
Demo Programs | Raspberry Pi Learning Resources
10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hi guys,
My name is Ryan. I'm from Providence, Rhode Island. A friend and I are working on a homemade video game cabinet design in the style of classic arcade games from the late seventies to nineties. We're designing a system that allows people to play these original games on their original... (0 Replies)
Discussion started by: kabungalee
0 Replies
2. What is on Your Mind?
Anyone order or get the new Rasberry Pi? I'm still waiting. Even though it's a fun project, I think these will turn out to be toys for people who already have PC's, and a boon to those who do not.
But that is not stopping me. If my wallet holds out, maybe I can build a Raspberry Pi beowulf... (1 Reply)
Discussion started by: jim mcnamara
1 Replies
3. What is on Your Mind?
The small red box to the left of TV is the Raspberry PI. Successfully installed and running Raspbian Wheezy.
I learnt about Raspberry PI from Neo here on unix.com. Thanks to you Neo :b: (6 Replies)
Discussion started by: balajesuri
6 Replies
4. News, Links, Events and Announcements
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies
5. AIX
Anybody done it? We use a legacy application that requires 3151 emulation. I am experimenting with a raspberry Pi running Debian. Wondering if nothing else, somebody might know where I can get some source code for a basic emulator? (1 Reply)
Discussion started by: jeveretts
1 Replies
6. Debian
Raspberry Pi B 2014-01-07 Raspbian fully up to date.
Installed and configured motion for surveillance.
It works just fine and creates .avi files and .jpeg.
Installed Mplayer trying to run it from desktop was
not successful. I did try to do a command line by
executing sudo mplayer... (6 Replies)
Discussion started by: oldcity
6 Replies
7. News, Links, Events and Announcements
Not sure if this is the right forum...
But a mini Raspberry PI, Raspberry PI Zero, free with MagPI magazine...
Shrinking to Zero: The Raspberry Pi gets smaller - BBC News
Fantastic for a simple Raspbian Debian based project... (0 Replies)
Discussion started by: wisecracker
0 Replies
8. News, Links, Events and Announcements
Hi all...
An interesting idea for Raspberry Pi...
Raspberry Pi goes Hi-Fi with audio valve amp | Electronics Weekly
Enjoy... (1 Reply)
Discussion started by: wisecracker
1 Replies
9. Shell Programming and Scripting
Hi,
I'm trying to get the configuration just as I'd like. But I can't get it to work?
I try to read if: xset s off xset -dpms xset s noblank
Is already in the .xinitrc file.... but it doesn't seem to work. I need it to check if it is already in the file otherwise it should echo that it's... (2 Replies)
Discussion started by: melbarius
2 Replies
10. Emergency UNIX and Linux Support
This is a test to see if the Emergency and UNIX and Linux Support forum is still working...
I see that Amazon has a deal on Raspberry Pis today (CanaKit Raspberry Pi 3 B+ (B Plus) Starter Kit (32 GB EVO+ Edition, Premium Black Case) and CanaKit Raspberry Pi 3 Complete Starter Kit - 32 GB... (4 Replies)
Discussion started by: Don Cragun
4 Replies
LEARN ABOUT PHP
socket_getpeername
SOCKET_GETPEERNAME(3) 1 SOCKET_GETPEERNAME(3)
socket_getpeername - Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on
its type
SYNOPSIS
bool socket_getpeername (resource $socket, string &$address, [int &$port])
DESCRIPTION
Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type.
PARAMETERS
o $socket
- A valid socket resource created with socket_create(3) or socket_accept(3).
o $address
- If the given socket is of type AF_INET or AF_INET6, socket_getpeername(3) will return the peers (remote) IP address in appropri-
ate notation (e.g. 127.0.0.1 or fe80::1) in the $address parameter and, if the optional $port parameter is present, also the
associated port. If the given socket is of type AF_UNIX, socket_getpeername(3) will return the Unix filesystem path (e.g.
/var/run/daemon.sock) in the $address parameter.
o $port
- If given, this will hold the port associated to $address.
RETURN VALUES
Returns TRUE on success or FALSE on failure. socket_getpeername(3) may also return FALSE if the socket type is not any of AF_INET,
AF_INET6, or AF_UNIX, in which case the last socket error code is not updated.
NOTES
Note
socket_getpeername(3) should not be used with AF_UNIX sockets created with socket_accept(3). Only sockets created with socket_con-
nect(3) or a primary server socket following a call to socket_bind(3) will return meaningful values.
Note
For having socket_getpeername(3) to return a meaningful value, the socket it is applied upon must of course be one for which the
concept of "peer" makes sense.
SEE ALSO
socket_getsockname(3), socket_last_error(3), socket_strerror(3).
PHP Documentation Group SOCKET_GETPEERNAME(3)