Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Socket


Related Topics
AMD
AGP

In the News (Wed 25 Nov 09)

  
  Socket (Java 2 Platform SE v1.4.2)
A socket is an endpoint for communication between two machines.
indicating whether this is a stream socket or a datagram socket.
allows the socket to be bound even though a previous connection is in a timeout state.
java.sun.com /j2se/1.4.2/docs/api/java/net/Socket.html   (3052 words)

  
 Socket Programming HOWTO
Sockets are used nearly everywhere, but are one of the most severely misunderstood technologies around.
I will try to clear up the mystery of what a socket is, as well as some hints on how to work with blocking and non-blocking sockets.
Client sockets are normally only used for one exchange (or a small set of sequential exchanges).
www.amk.ca /python/howto/sockets   (2909 words)

  
 [comp.unix.programmer] Unix-socket-faq for network programming
Connection-oriented sockets allow for data to flow back and forth as needed, while connectionless sockets (also known as datagram sockets) allow only one message at a time to be transmitted, without an open connection.
With the socket there is no way to allow one process only to send data and the other only to receive so you should always keep in mind the consequences.
Generally the difference between close() and shutdown() is: close() closes the socket id for the process but the connection is still opened if another process shares this socket id. The connection stays opened both for read and write, and sometimes this is very important.
www.faqs.org /faqs/unix-faq/socket   (12718 words)

  
  PHP: Socket Functions - Manual
The socket extension implements a low-level interface to the socket communication functions based on the popular BSD sockets, providing the possibility to act as a socket server as well as a client.
Those unfamiliar with socket programming can find a lot of useful material in the appropriate Unix man pages, and there is a great deal of tutorial information on socket programming in C on the web, much of which can be applied, with slight modifications, to socket programming in PHP.
The socket extension was written to provide a usable interface to the powerful BSD sockets.
php.net /sockets   (2242 words)

  
 Sockets Tutorial
Stream sockets use TCP (Transmission Control Protocol), which is a reliable, stream oriented protocol, and datagram sockets use UDP (Unix Datagram Protocol), which is unreliable and message oriented.
Recall that there are two choices here, a stream socket in which characters are read in a continuous stream as if from a file or pipe, and a datagram socket, in which messages are read in chunks.
The first argument is the socket file descriptor, and the second is the size of the backlog queue, i.e., the number of connections that can be waiting while the process is handling a particular connection.
www.cs.rpi.edu /courses/sysprog/sockets/sock.html   (3956 words)

  
 socket
Socket type definitions in the Winsock2.h and Ws2def.h header files will be periodically updated as new socket types, address families, and protocols are defined.
The socket function causes a socket descriptor and any related resources to be allocated and bound to a specific transport-service provider.
If such a socket is connected to a specific peer, datagrams can be sent to that peer using send and can be received only from this peer using recv.
msdn2.microsoft.com /en-us/library/ms740506.aspx   (1571 words)

  
 17.2.1 Socket Objects
The socket must be bound to an address and listening for connections.
Some notes on socket blocking and timeouts: A socket object can be in one of three modes: blocking, non-blocking, or timeout.
The blocking and timeout modes are shared between file descriptors and socket objects that refer to the same network endpoint.
www.python.org /doc/current/lib/socket-objects.html   (992 words)

  
 socket - create an endpoint for communication Linux Man Page
The protocol specifies a particular protocol to be used with the socket.
Normally only a single protocol exists to support a particular socket type within a given protocol family, in which a case protocol can be specified as 0.
A stream socket must be in a connected state before any data may be sent or received on it.
www.penguin-soft.com /penguin/man/2/socket.html?manpath=/man/man2/socket.2.inc   (878 words)

  
 [No title]   (Site not responding. Last check: )
Sockets are a generalized networking capability first introduced in 4.1cBSD and subsequently refined into their current form with 4.2BSD.
This function allows a message msg of length len to be sent on a socket with descriptor s to the socket named by to and tolen, where tolen is the actual length of to.
This function allows a message msg of maximum length len to be read from a socket with descriptor s from the socket named by from and fromlen, where fromlen is the actual length of from.
www.ecst.csuchico.edu /~chafey/prog/sockets/sinfo1.html   (4389 words)

  
 Socket Programming
A "client" program can then connect its own socket to the server's socket, at which time the client program's writes to the socket are read as stdin to the server program, and stdout from the server program are read from the client's socket reads.
Sockets are a software methodology to connect different processes (programs) on the same computer or on different computers.
But with sockets, the default behavior (called blocking) is that when the read that would have returned 0 is attempted, the read waits for data to come in.
www.troubleshooters.com /codecorn/sockets   (3518 words)

  
 Tcl Built-In Commands - socket manual page   (Site not responding. Last check: )
The socket command may be used to open either the client or server side of a connection, depending on whether the -server switch is specified.
If the socket is in nonblocking mode and a gets or flush is done on the socket before the connection attempt succeeds or fails, the operation returns immediately and fblocked on the socket returns 1.
For client and accepted sockets, this option returns a list of three elements; these are the address, the host name and the port to which the peer socket is connected or bound.
www.tcl.tk /man/tcl8.4/TclCmd/socket.htm   (942 words)

  
 Socket - perldoc.perl.org
For Internet domain sockets, this structure is normally what you need for the arguments in bind(), connect(), and send(), and is also returned by getpeername(), getsockname() and recv().
Takes a sockaddr_in structure (as returned by pack_sockaddr_in()) and returns an array of two elements: the port and an opaque string representing the IP address (you can use inet_ntoa() to convert the address to the four-dotted numeric format).
For unix domain sockets, this structure is normally what you need for the arguments in bind(), connect(), and send(), and is also returned by getpeername(), getsockname() and recv().
perldoc.perl.org /Socket.html   (740 words)

  
 Socket (Java 2 Platform SE 5.0)
Creates an unconnected socket, specifying the type of proxy, if any, that should be used regardless of any other settings.
Returns whether the read-half of the socket connection is closed.
Returns whether the write-half of the socket connection is closed.
java.sun.com /j2se/1.5.0/docs/api/java/net/Socket.html   (3358 words)

  
 Socket Class (System.Net.Sockets)
The Socket class allows you to perform both synchronous and asynchronous data transfer using any of the communication protocols listed in the ProtocolType enumeration.
The Socket class follows the.NET Framework naming pattern for asynchronous methods; for example, the synchronous Receive method corresponds to the asynchronous BeginReceive and EndReceive methods.
If you perform multiple asynchronous operations on a socket, they do not necessarily complete in the order in which they are started.
msdn2.microsoft.com /en-us/library/system.net.sockets.socket.aspx   (1567 words)

  
 [No title]
Socket offers local telephone service, competitive long distance, and a wide range of custom voice applications for businesses across Missouri.
Socket's Priority DSL is a high-speed Internet connection that gives businesses the dedicated, reliable communication solution they need.
Socket Internet, Inc. is not affiliated with Socket Communications, Inc. (NASDAQ: SCKT, www.socketcom.com) which is primarily a manufacturer and/or seller of computer and communications hardware, interface devices and associated software offering connectivity solutions for mobile devices.
www.socket.net   (154 words)

  
 17.2 socket -- Low-level networking interface
The address format required by a particular socket object is automatically selected based on the address family specified when the socket object was created.
The socket address will be resolved differently into an actual IPv4/v6 address, depending on the results from DNS resolution and/or the host configuration.
The socket is assumed to be in blocking mode.
docs.python.org /lib/module-socket.html   (1764 words)

  
 flash.net.Socket (Flex™ 2 Language Reference)
If you want to connect to a socket on a different host than the one from which the connecting SWF file was served, or if you want to connect to a port lower than 1024 on any host, you must obtain an
The string is assumed to be prefixed with an unsigned short integer that indicates the length in bytes.
The Socket reference doesn't specify which of two plausible models is used for socket data: (1) data from the input buffer is consumed as read() methods are called, or (2) the input buffer grows indefinitely.
livedocs.adobe.com /flex/2/langref/flash/net/Socket.html   (2939 words)

  
 Five pitfalls of Linux sockets programming
The Sockets API is the de facto standard API for networking applications development.
Sockets are a perfect vehicle for sending unstructured binary byte-streams or ASCII streams of data (such as HTML pages over HTTP, or e-mail over SMTP).
Sockets programming is easy and enjoyable, especially if you avoid introducing bugs or at least make them easy to find by considering the five common pitfalls described in this article, in addition to standard defensive programming practices.
www-128.ibm.com /developerworks/linux/library/l-sockpit   (2244 words)

  
 flash.net.Socket (Flex™ 2 Language Reference)
The Socket class is useful for working with servers that use binary protocols.
If you want to connect to a socket on a different host than the one from which the connecting SWF file was served, or if you want to connect to a port lower than 1024 on any host, you must obtain an
The string is assumed to be prefixed with an unsigned short integer that indicates the length in bytes.
livedocs.macromedia.com /flex/2/langref/flash/net/Socket.html   (2767 words)

  
 17.2 socket -- Low-level networking interface
The address format required by a particular socket object is automatically selected based on the address family specified when the socket object was created.
The socket address will be resolved differently into an actual IPv4/v6 address, depending on the results from DNS resolution and/or the host configuration.
The socket is assumed to be in blocking mode.
www.python.org /doc/current/lib/module-socket.html   (1764 words)

  
 MobileTechReview.com: WiFi - 802.11b wireless networking for PDAs- Socket CF WiFi card review
Socket calls this "Low Power" for a good reason, it consumes about 1/2 as much power than any other wireless network card we're aware of.
Socket also offers an advanced selection when you press their icon in the taskbar which allows you to test your network signal strength.
Speaking of signal strength, I was worried that the small antenna (the plastic prominence at the top of the card) would affect signal strength, but I was able to get a usable signal up to 75 feet away from my base station.
www.mobiletechreview.com /tips/socket_wifi.htm   (535 words)

  
 Socket Mobile, Inc. — Increasing Mobile Productivity (www.socketmobile.com)
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Police in Northern California are using a handheld scanning solution to fight auto theft.
Socket Communications is not affiliated with Socket Internet Inc., primarily a provider of data, voice and Internet communications services, with its Web site at www.socket.com.
www.socketcom.com   (249 words)

  
 Sockets programming in Java: A tutorial - Java World
Message destinations are specified as socket addresses; each socket address is a communication identifier that consists of a port number and an Internet address.
IPC is done by exchanging some data through transmitting that data in a message between a socket in one process and another socket in another process.
Once two sockets have been connected, they can be used to transmit data in both (or either one of the) directions.
www.javaworld.com /jw-12-1996/jw-12-sockets.html   (654 words)

  
 PHP: socket_get_status - Manual
Note that if you set the socket non-blocking via socket_set_blocking() you cannot check if the socket has timed out with this function.
bytes_left function will tell you how many bytes are left in the buffer of socket $fp.
sockets created using socket(), which are mostly used for listening for connections, are not friendly to this function, you will not get your expected results (if you get any results at all)
www.php.net /socket_get_status   (118 words)

  
 Beej's Guide to Network Programming Using Internet Sockets   (Site not responding. Last check: )
Once you have a socket, you might have to associate that socket with a port on your local machine.
Well, a little bit of a socket that was connected is still hanging around in the kernel, and it's hogging the port.
The socket itself is still a datagram socket and the packets still use UDP, but the socket interface will automatically add the destination and source information for you.
beej.us /guide/bgnet/output/htmlsingle/bgnet.html   (11878 words)

  
 PHP: socket_write - Manual
can specify an alternate length of bytes written to the socket.
Returns the number of bytes successfully written to the socket or
The error code can be retrieved with socket_last_error().
www.php.net /socket_write   (264 words)

  
 UK firm to unveil wall-socket PC - ZDNet UK
Containing all the electronics needed to run as a low- to medium-power PC, the Jack PC, as its name suggests, will fit into a standard size wall socket.
Analogue or digital monitors are supported, and the system can include support for dual-screen and 16:9 screens.
Socket PC - Cool - ubiquitous computing with minim...
news.zdnet.co.uk /0,39020330,39272166,00.htm   (744 words)

  
 Spencer's Socket Site: Network Programming with Sockets
Straight-forward simple sample socket source code in C and Java.
Bunch of C++ classes to do socket client/server systems.
A general Unix programming newsgroup with often sockets related questions and answers (here's where the experts hang out).
www.lowtek.com /sockets   (196 words)

  
 Class: Socket
This address is suitable for use by servers that will bind their socket and do a passive listen, thus the name of the flag.
recvfrom is not permitted with a connected socket on a socket that is connetion oriented or connectionless.
It is not possible to call recvfrom on a socket after shutdown has been invoked.
www.ruby-doc.org /core/classes/Socket.html   (3253 words)

  
 The Application Programming Interface: API
each socket must be associated with a local, host-unique 16-bit port number.
is address of sockaddr_in structure containing address info of socket that sent this data.
*fromaddrptr is address of sockaddr_in structure containing address info of socket that sent this data.
www-net.cs.umass.edu /cs653-1997/notes/ch3/ch3-1.html   (1627 words)

  
 <sys/socket.h>
Ancillary data is also possible at the socket level.
Options to be accessed at socket level, not protocol level.
UNIX ® is a registered Trademark of The Open Group.
www.opengroup.org /onlinepubs/007908799/xns/syssocket.h.html   (550 words)

  
 Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa - load the C socket.h defines and structure manipulators - ...
Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa - load the C socket.h defines and structure manipulators - search.cpan.org
This module is just a translation of the C socket.h file.
Takes a sockaddr_in structure (as returned by pack_sockaddr_in()) and returns an array of two elements: the port and the 4-byte ip-address.
search.cpan.org /perldoc?Socket   (488 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.