Re: Sockets

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Sockets
Groups: php.db 
Request: Send a blank email to php-db+get-21781@lists.php.net to get a copy of this message
A socket is a networking term used to describe a connection. There are network sockets, which are defined by IP and PORT number, and then there are Unix sockets which are actually "file" that are created in the /tmp directory temporarily. It provides a simulated network connection through a file instead of a buffer in the network card or ram. Socket programming is great fun, some additional infor here: http://www.linuxsocket.org/books/Sockets/programs/ For ythe scope of your question though, it says, connect through the TCP/IP method, or use a temporary file on the local host to connect. HTH -Brad > Hello guys > > Well, this may seem quite a dumb question but after looking for the answe> r > very deeply into some books and tutorials I gave up trying to understand > it. > > The thing is: what's exactly a socket? I've read I can connect to my > database either through a port or a socket but honestly I always use port> s > since don't really know what the other means. > > You may not give me the answer but please point me to a tutorial or artic> le > explaining it. > > Thanks a lot. > > ******************************************************* > Wilmar Pérez > Network Administrator > Library System > Tel: ++57(4)2105145 > University of Antioquia > Medellín - Colombia > 2002 > ******************************************************* > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.db (#21781) next »