diff -uNr dmd-0.114/dmd/html/d/changelog.html dmd-0.115/dmd/html/d/changelog.html --- dmd-0.114/dmd/html/d/changelog.html 2005-02-27 20:10:42.000000000 +0100 +++ dmd-0.115/dmd/html/d/changelog.html 2005-02-28 20:02:26.000000000 +0100 @@ -24,6 +24,7 @@
+

+ What's New for + D 0.115 +

+ +Feb 28, 2005 +

+ +

Bugs Fixed

+ + +

What's New for D 0.114 diff -uNr dmd-0.114/dmd/html/d/std_socket.html dmd-0.115/dmd/html/d/std_socket.html --- dmd-0.114/dmd/html/d/std_socket.html 2005-02-26 10:49:28.000000000 +0100 +++ dmd-0.115/dmd/html/d/std_socket.html 2005-02-28 17:13:46.000000000 +0100 @@ -11,7 +11,7 @@ [Search] [D] -
Last update Feb 26, 2005 +
Last update Feb 28, 2005

Phobos: std.socket

@@ -26,6 +26,8 @@
local communication
INET
internet protocol version 4 +
INET6 +
internet protocol version 6
IPX
novell IPX
APPLETALK @@ -57,7 +59,9 @@

IP -
internet protocol +
internet protocol version 4 +
IPV6 +
internet protocol version 6
ICMP
internet control message protocol
IGMP @@ -75,6 +79,46 @@

+

class Protocol +
Protocol is a class for retrieving protocol information. +

+

+
ProtocolType type +
char[] name +
char[][] aliases +
These members are populated when one of the following + functions are called without failure: +

+ +

bit getProtocolByName(char[] name) +
bit getProtocolByType(ProtocolType type) +
Returns false on failure. +

+

+

+ +

class Service +
Service is a class for retrieving service information. +

+

+
char[] name +
char[][] aliases +
ushort port +
char[] protocolName +
These members are populated when one of the following + functions are called without failure: +

+ +

bit getServiceByName(char[] name, char[] protocolName) +
bit getServiceByName(char[] name) +
bit getServiceByPort(ushort port, char[] protocolName) +
bit getServiceByPort(ushort port) +
If a protocol name is omitted, any protocol will be matched. + Returns false on failure. +

+

+

+


class AddressException : Exception
Base exception thrown from an Address. @@ -146,6 +190,11 @@
class HostException : Exception
Base exception thrown from an InternetHost.

+

+
int errorCode +
Platform-specific error code. +
+

class InternetHost
InternetHost is a class for resolving IPv4 addresses. @@ -206,7 +255,9 @@
SOCKET
socket level
IP -
internet protocol level +
internet protocol version 4 level +
IPV6 +
internet protocol version 6 level
TCP
transmission control protocol level
UDP @@ -246,9 +297,9 @@
Linger information for use with SocketOption.LINGER.

-
ushort on +
on
Nonzero for on. -
ushort time +
time
Linger time.

@@ -257,9 +308,9 @@

Duration timeout value.

-
int seconds +
seconds
Number of seconds. -
int microseconds +
microseconds
Number of additional microseconds.

@@ -267,6 +318,11 @@

class SocketException : Exception
Base exception thrown from a Socket.

+

+
int errorCode +
Platform-specific error code. +
+

class Socket
Socket is a class that creates a network communication endpoint @@ -274,11 +330,16 @@

this(AddressFamily af, SocketType type, ProtocolType protocol) +
this(AddressFamily af, SocketType type, char[] protocolName)
this(AddressFamily af, SocketType type)
Create a blocking socket. If a single protocol type exists to support this socket type within the address family, the ProtocolType may be omitted.

+

static char[] hostName +
Property to get the local machine's host name. +

+

bit blocking
Property to get or set whether the socket is blocking or nonblocking.

@@ -310,7 +371,14 @@

Socket accept()
Accept an incoming connection. If the socket is blocking, accept waits for a connection request. Throws SocketAcceptException if - unable to accept. + unable to accept. See accepting for use with derived classes. +

+ +

protected Socket accepting() +
Called by accept when a new Socket must be created for a new connection. + To use a derived class, override this method and return an instance of your class. + The returned Socket's handle must not be set; Socket has a protected constructor + this() to use in this situation.

void shutdown(SocketShutdown how) @@ -324,6 +392,10 @@ usable after close.

+

static char[] hostName +
Property to get the local machine's host name. +

+

Address remoteAddress()
Remote endpoint Address.

@@ -374,13 +446,17 @@

int getOption(SocketOptionLevel level, SocketOption option, void[] result)
Get a socket option. Returns the number of bytes written to result.
int getOption(SocketOptionLevel level, SocketOption option, out int result) -
Same as previous, but for the common case of integer and boolean options. +
Common case of getting integer and boolean options. +
int getOption(SocketOptionLevel level, SocketOption option, out linger result) +
Get the linger option.

void setOption(SocketOptionLevel level, SocketOption option, void[] value)
Set a socket option.
void setOption(SocketOptionLevel level, SocketOption option, int value) -
Same as previous, but for the common case of integer and boolean options. +
Common case of setting integer and boolean options. +
void setOption(SocketOptionLevel level, SocketOption option, linger value) +
Set the linger option.

static int select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError, timeval* tv) @@ -391,7 +467,7 @@ timeval is null, the maximum timeout is used. The timeval timeout has an unspecified value when select returns. Returns the number of sockets with status changes, 0 on timeout, or -1 on interruption. - If the return value is greter than 0, the SocketSets are updated + If the return value is greater than 0, the SocketSets are updated to only contain the sockets having status changes. For a connecting socket, a write status change means the connection is established and it's able to send. For a listening socket, @@ -405,6 +481,7 @@

this() +
this(AddressFamily family)
Constructs a blocking TCP Socket.
this(InternetAddress connectTo)
Constructs a blocking TCP Socket and connects to an InternetAddress. @@ -416,6 +493,7 @@

this() +
this(AddressFamily family)
Constructs a blocking UDP Socket.