socket examples
writing some sockets examples