Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 1 and Version 2 of tango.net.Socket.Socket

Show
Ignore:
Author:
elite01 (IP: 88.71.40.234)
Timestamp:
06/29/08 23:12:31 (16 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tango.net.Socket.Socket

    v1 v2  
    1 The '''[http://www.dsource.org/projects/tango/docs/current/tango.net.Socket.html Socket]''' class represents a network connection and is modelled after the Posix socket functions. It can either listen for connections, represent one end of an established connection or simply send and receive datagrams. The socket has an address family, socket type and protocol type. For stream sockets, it is almost always better to use the wrappers [wiki:tango.net.SocketConduit SocketConduit] and [wiki:tango.net.ServerSocket ServerSocket], as those suit Tango's IO model and are easier to use. 
     1The '''[http://www.dsource.org/projects/tango/docs/current/tango.net.Socket.html Socket]''' class represents a network connection and is modelled after the Posix socket functions. It can either listen for connections, represent one end of an established connection or simply send and receive datagrams. The socket has an address family, socket type and protocol type.It is almost always better to use wrappers like [wiki:tango.net.DatagramConduit DatagramConduit], [wiki:tango.net.MulticastConduit MulticastConduit], [wiki:tango.net.SocketConduit SocketConduit] and [wiki:tango.net.ServerSocket ServerSocket], as those suit Tango's IO model and are easier to use. 
    22= Address families = 
    33Address families are implemented by [http://en.wikipedia.org/wiki/Network_layer layer 3] of the [http://en.wikipedia.org/wiki/OSI_model OSI model].