diff --git a/CSFML/build/VC2005/csfml-network.vcproj b/CSFML/build/VC2005/csfml-network.vcproj
index fcb1ba30..9560a393 100644
--- a/CSFML/build/VC2005/csfml-network.vcproj
+++ b/CSFML/build/VC2005/csfml-network.vcproj
@@ -223,11 +223,11 @@
>
-
+
@@ -67,7 +67,7 @@
-
+
diff --git a/CSFML/include/SFML/Network.h b/CSFML/include/SFML/Network.h
index bbc87ffc..94fe3337 100644
--- a/CSFML/include/SFML/Network.h
+++ b/CSFML/include/SFML/Network.h
@@ -30,7 +30,7 @@
////////////////////////////////////////////////////////////
#include
-#include
+#include
#include
#include
#include
diff --git a/CSFML/include/SFML/Network/Ftp.h b/CSFML/include/SFML/Network/Ftp.h
index 12c60f18..70bd4c80 100644
--- a/CSFML/include/SFML/Network/Ftp.h
+++ b/CSFML/include/SFML/Network/Ftp.h
@@ -29,7 +29,7 @@
// Headers
////////////////////////////////////////////////////////////
#include
-#include
+#include
#include
@@ -287,7 +287,7 @@ CSFML_API void sfFtp_Destroy(sfFtp* ftp);
/// \return Server response to the request
///
////////////////////////////////////////////////////////////
-CSFML_API sfFtpResponse* sfFtp_Connect(sfFtp* ftp, sfIPAddress server, unsigned short port, float timeout);
+CSFML_API sfFtpResponse* sfFtp_Connect(sfFtp* ftp, sfIpAddress server, unsigned short port, float timeout);
////////////////////////////////////////////////////////////
/// Log in using anonymous account
diff --git a/CSFML/include/SFML/Network/IpAddress.h b/CSFML/include/SFML/Network/IpAddress.h
index 6558c47d..e879b414 100644
--- a/CSFML/include/SFML/Network/IpAddress.h
+++ b/CSFML/include/SFML/Network/IpAddress.h
@@ -32,12 +32,12 @@
////////////////////////////////////////////////////////////
-/// sfIPAddress provides easy manipulation of IP v4 addresses
+/// sfIpAddress provides easy manipulation of IP v4 addresses
////////////////////////////////////////////////////////////
typedef struct
{
char Address[16];
-} sfIPAddress;
+} sfIpAddress;
////////////////////////////////////////////////////////////
@@ -48,7 +48,7 @@ typedef struct
/// \return Resulting address
///
////////////////////////////////////////////////////////////
-CSFML_API sfIPAddress sfIPAddress_FromString(const char* string);
+CSFML_API sfIpAddress sfIpAddress_FromString(const char* string);
////////////////////////////////////////////////////////////
/// Construct an address from 4 bytes
@@ -61,7 +61,7 @@ CSFML_API sfIPAddress sfIPAddress_FromString(const char* string);
/// \return Resulting address
///
////////////////////////////////////////////////////////////
-CSFML_API sfIPAddress sfIPAddress_FromBytes(sfUint8 byte0, sfUint8 byte1, sfUint8 byte2, sfUint8 byte3);
+CSFML_API sfIpAddress sfIpAddress_FromBytes(sfUint8 byte0, sfUint8 byte1, sfUint8 byte2, sfUint8 byte3);
////////////////////////////////////////////////////////////
/// Construct the address from a 32-bits integer
@@ -69,7 +69,7 @@ CSFML_API sfIPAddress sfIPAddress_FromBytes(sfUint8 byte0, sfUint8 byte1, sfUint
/// \param address : 4 bytes of the address packed into a 32-bits integer
///
////////////////////////////////////////////////////////////
-CSFML_API sfIPAddress sfIPAddress_FromInteger(sfUint32 address);
+CSFML_API sfIpAddress sfIpAddress_FromInteger(sfUint32 address);
////////////////////////////////////////////////////////////
/// Tell if an address is a valid one
@@ -79,7 +79,7 @@ CSFML_API sfIPAddress sfIPAddress_FromInteger(sfUint32 address);
/// \return sfTrue if address has a valid syntax
///
////////////////////////////////////////////////////////////
-CSFML_API sfBool sfIPAddress_IsValid(sfIPAddress address);
+CSFML_API sfBool sfIpAddress_IsValid(sfIpAddress address);
////////////////////////////////////////////////////////////
/// Get a string representation of an address
@@ -88,7 +88,7 @@ CSFML_API sfBool sfIPAddress_IsValid(sfIPAddress address);
/// \param string : Char array to fill (size must be >= 16)
///
////////////////////////////////////////////////////////////
-CSFML_API void sfIPAddress_ToString(sfIPAddress address, char* string);
+CSFML_API void sfIpAddress_ToString(sfIpAddress address, char* string);
////////////////////////////////////////////////////////////
/// Get an integer representation of the address
@@ -98,7 +98,7 @@ CSFML_API void sfIPAddress_ToString(sfIPAddress address, char* string);
/// \return 32-bits integer containing the 4 bytes of the address, in system endianness
///
////////////////////////////////////////////////////////////
-CSFML_API sfUint32 sfIPAddress_ToInteger(sfIPAddress address);
+CSFML_API sfUint32 sfIpAddress_ToInteger(sfIpAddress address);
////////////////////////////////////////////////////////////
/// Get the computer's local IP address (from the LAN point of view)
@@ -106,7 +106,7 @@ CSFML_API sfUint32 sfIPAddress_ToInteger(sfIPAddress address);
/// \return Local IP address
///
////////////////////////////////////////////////////////////
-CSFML_API sfIPAddress sfIPAddress_GetLocalAddress();
+CSFML_API sfIpAddress sfIpAddress_GetLocalAddress();
////////////////////////////////////////////////////////////
/// Get the computer's public IP address (from the web point of view).
@@ -119,7 +119,7 @@ CSFML_API sfIPAddress sfIPAddress_GetLocalAddress();
/// \return Public IP address
///
////////////////////////////////////////////////////////////
-CSFML_API sfIPAddress sfIPAddress_GetPublicAddress(float timeout);
+CSFML_API sfIpAddress sfIpAddress_GetPublicAddress(float timeout);
////////////////////////////////////////////////////////////
/// Get the computer's loopback address
@@ -127,7 +127,7 @@ CSFML_API sfIPAddress sfIPAddress_GetPublicAddress(float timeout);
/// \return Local host IP address (127.0.0.1, or "localhost")
///
////////////////////////////////////////////////////////////
-CSFML_API sfIPAddress sfIPAddress_LocalHost();
+CSFML_API sfIpAddress sfIpAddress_LocalHost();
#endif // SFML_IPADDRESS_H
diff --git a/CSFML/include/SFML/Network/SocketTCP.h b/CSFML/include/SFML/Network/SocketTCP.h
index 81d84664..90ca03f5 100644
--- a/CSFML/include/SFML/Network/SocketTCP.h
+++ b/CSFML/include/SFML/Network/SocketTCP.h
@@ -29,7 +29,7 @@
// Headers
////////////////////////////////////////////////////////////
#include
-#include
+#include
#include
#include
@@ -81,7 +81,7 @@ CSFML_API void sfSocketTCP_SetBlocking(sfSocketTCP* socket, sfBool blocking);
/// \return sfTrue if operation has been successful
///
////////////////////////////////////////////////////////////
-CSFML_API sfSocketStatus sfSocketTCP_Connect(sfSocketTCP* socket, unsigned short port, sfIPAddress host, float timeout);
+CSFML_API sfSocketStatus sfSocketTCP_Connect(sfSocketTCP* socket, unsigned short port, sfIpAddress host, float timeout);
////////////////////////////////////////////////////////////
/// Listen to a specified port for incoming data or connections
@@ -106,7 +106,7 @@ CSFML_API sfBool sfSocketTCP_Listen(sfSocketTCP* socket, unsigned short port);
/// \return Socket status
///
////////////////////////////////////////////////////////////
-CSFML_API sfSocketStatus sfSocketTCP_Accept(sfSocketTCP* socket, sfSocketTCP** connected, sfIPAddress* address);
+CSFML_API sfSocketStatus sfSocketTCP_Accept(sfSocketTCP* socket, sfSocketTCP** connected, sfIpAddress* address);
////////////////////////////////////////////////////////////
/// Send an array of bytes to the host (must be connected first)
diff --git a/CSFML/include/SFML/Network/SocketUDP.h b/CSFML/include/SFML/Network/SocketUDP.h
index ba2216f1..3c8a40d9 100644
--- a/CSFML/include/SFML/Network/SocketUDP.h
+++ b/CSFML/include/SFML/Network/SocketUDP.h
@@ -29,7 +29,7 @@
// Headers
////////////////////////////////////////////////////////////
#include
-#include
+#include
#include
#include
@@ -103,7 +103,7 @@ CSFML_API sfBool sfSocketUDP_Unbind(sfSocketUDP* socket);
/// \return Socket status
///
////////////////////////////////////////////////////////////
-CSFML_API sfSocketStatus sfSocketUDP_Send(sfSocketUDP* socket, const char* data, size_t size, sfIPAddress address, unsigned short port);
+CSFML_API sfSocketStatus sfSocketUDP_Send(sfSocketUDP* socket, const char* data, size_t size, sfIpAddress address, unsigned short port);
////////////////////////////////////////////////////////////
/// Receive an array of bytes.
@@ -120,7 +120,7 @@ CSFML_API sfSocketStatus sfSocketUDP_Send(sfSocketUDP* socket, const char* data,
/// \return Socket status
///
////////////////////////////////////////////////////////////
-CSFML_API sfSocketStatus sfSocketUDP_Receive(sfSocketUDP* socket, char* data, size_t maxSize, size_t* sizeReceived, sfIPAddress* address, unsigned short* port);
+CSFML_API sfSocketStatus sfSocketUDP_Receive(sfSocketUDP* socket, char* data, size_t maxSize, size_t* sizeReceived, sfIpAddress* address, unsigned short* port);
////////////////////////////////////////////////////////////
/// Send a packet of data
@@ -133,7 +133,7 @@ CSFML_API sfSocketStatus sfSocketUDP_Receive(sfSocketUDP* socket, char* data, si
/// \return Socket status
///
////////////////////////////////////////////////////////////
-CSFML_API sfSocketStatus sfSocketUDP_SendPacket(sfSocketUDP* socket, sfPacket* packet, sfIPAddress address, unsigned short port);
+CSFML_API sfSocketStatus sfSocketUDP_SendPacket(sfSocketUDP* socket, sfPacket* packet, sfIpAddress address, unsigned short port);
////////////////////////////////////////////////////////////
/// Receive a packet.
@@ -148,7 +148,7 @@ CSFML_API sfSocketStatus sfSocketUDP_SendPacket(sfSocketUDP* socket, sfPacket* p
/// \return Socket status
///
////////////////////////////////////////////////////////////
-CSFML_API sfSocketStatus sfSocketUDP_ReceivePacket(sfSocketUDP* socket, sfPacket* packet, sfIPAddress* address, unsigned short* port);
+CSFML_API sfSocketStatus sfSocketUDP_ReceivePacket(sfSocketUDP* socket, sfPacket* packet, sfIpAddress* address, unsigned short* port);
////////////////////////////////////////////////////////////
/// Close the socket
diff --git a/CSFML/src/SFML/Network/Ftp.cpp b/CSFML/src/SFML/Network/Ftp.cpp
index 05988434..43efb128 100644
--- a/CSFML/src/SFML/Network/Ftp.cpp
+++ b/CSFML/src/SFML/Network/Ftp.cpp
@@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
#include
#include
-#include
+#include
#include
@@ -197,11 +197,11 @@ void sfFtp_Destroy(sfFtp* ftp)
////////////////////////////////////////////////////////////
/// Connect to the specified FTP server
////////////////////////////////////////////////////////////
-sfFtpResponse* sfFtp_Connect(sfFtp* ftp, sfIPAddress server, unsigned short port, float timeout)
+sfFtpResponse* sfFtp_Connect(sfFtp* ftp, sfIpAddress server, unsigned short port, float timeout)
{
CSFML_CHECK_RETURN(ftp, NULL);
- sf::IPAddress SFMLServer(server.Address);
+ sf::IpAddress SFMLServer(server.Address);
return new sfFtpResponse(ftp->This.Connect(SFMLServer, port, timeout));
}
diff --git a/CSFML/src/SFML/Network/IpAddress.cpp b/CSFML/src/SFML/Network/IpAddress.cpp
index 4bb9987d..1c20e4ee 100644
--- a/CSFML/src/SFML/Network/IpAddress.cpp
+++ b/CSFML/src/SFML/Network/IpAddress.cpp
@@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
-#include
-#include
+#include
+#include
#include
@@ -35,9 +35,9 @@ namespace
////////////////////////////////////////////////////////////
/// Helper function for converting a SFML address to a CSFML one
////////////////////////////////////////////////////////////
- sfIPAddress FromSFMLAddress(sf::IPAddress address)
+ sfIpAddress FromSFMLAddress(sf::IpAddress address)
{
- sfIPAddress result;
+ sfIpAddress result;
strncpy(result.Address, address.ToString().c_str(), 16);
return result;
@@ -46,9 +46,9 @@ namespace
////////////////////////////////////////////////////////////
/// Helper function for converting a CSFML address to a SFML one
////////////////////////////////////////////////////////////
- sf::IPAddress ToSFMLAddress(sfIPAddress address)
+ sf::IpAddress ToSFMLAddress(sfIpAddress address)
{
- return sf::IPAddress(address.Address);
+ return sf::IpAddress(address.Address);
}
}
@@ -56,34 +56,34 @@ namespace
////////////////////////////////////////////////////////////
/// Construct an address from a string
////////////////////////////////////////////////////////////
-sfIPAddress sfIPAddress_FromString(const char* string)
+sfIpAddress sfIpAddress_FromString(const char* string)
{
- return FromSFMLAddress(sf::IPAddress(string));
+ return FromSFMLAddress(sf::IpAddress(string));
}
////////////////////////////////////////////////////////////
/// Construct an address from 4 bytes
////////////////////////////////////////////////////////////
-sfIPAddress sfIPAddress_FromBytes(sfUint8 byte0, sfUint8 byte1, sfUint8 byte2, sfUint8 byte3)
+sfIpAddress sfIpAddress_FromBytes(sfUint8 byte0, sfUint8 byte1, sfUint8 byte2, sfUint8 byte3)
{
- return FromSFMLAddress(sf::IPAddress(byte0, byte1, byte2, byte3));
+ return FromSFMLAddress(sf::IpAddress(byte0, byte1, byte2, byte3));
}
////////////////////////////////////////////////////////////
/// Construct the address from a 32-bits integer
////////////////////////////////////////////////////////////
-sfIPAddress sfIPAddress_FromInteger(sfUint32 address)
+sfIpAddress sfIpAddress_FromInteger(sfUint32 address)
{
- return FromSFMLAddress(sf::IPAddress(address));
+ return FromSFMLAddress(sf::IpAddress(address));
}
////////////////////////////////////////////////////////////
/// Tell if an address is a valid one
////////////////////////////////////////////////////////////
-sfBool sfIPAddress_IsValid(sfIPAddress address)
+sfBool sfIpAddress_IsValid(sfIpAddress address)
{
return ToSFMLAddress(address).IsValid() ? sfTrue : sfFalse;
}
@@ -92,7 +92,7 @@ sfBool sfIPAddress_IsValid(sfIPAddress address)
////////////////////////////////////////////////////////////
/// Get a string representation of an address
////////////////////////////////////////////////////////////
-void sfIPAddress_ToString(sfIPAddress address, char* string)
+void sfIpAddress_ToString(sfIpAddress address, char* string)
{
if (string)
strcpy(string, address.Address);
@@ -102,7 +102,7 @@ void sfIPAddress_ToString(sfIPAddress address, char* string)
////////////////////////////////////////////////////////////
/// Get an integer representation of the address
////////////////////////////////////////////////////////////
-sfUint32 sfIPAddress_ToInteger(sfIPAddress address)
+sfUint32 sfIpAddress_ToInteger(sfIpAddress address)
{
return ToSFMLAddress(address).ToInteger();
}
@@ -111,9 +111,9 @@ sfUint32 sfIPAddress_ToInteger(sfIPAddress address)
////////////////////////////////////////////////////////////
/// Get the computer's local IP address (from the LAN point of view)
////////////////////////////////////////////////////////////
-sfIPAddress sfIPAddress_GetLocalAddress()
+sfIpAddress sfIpAddress_GetLocalAddress()
{
- return FromSFMLAddress(sf::IPAddress::GetLocalAddress());
+ return FromSFMLAddress(sf::IpAddress::GetLocalAddress());
}
@@ -123,16 +123,16 @@ sfIPAddress sfIPAddress_GetLocalAddress()
/// distant website ; as a consequence, this function may be
/// very slow -- use it as few as possible !
////////////////////////////////////////////////////////////
-sfIPAddress sfIPAddress_GetPublicAddress(float timeout)
+sfIpAddress sfIpAddress_GetPublicAddress(float timeout)
{
- return FromSFMLAddress(sf::IPAddress::GetPublicAddress(timeout));
+ return FromSFMLAddress(sf::IpAddress::GetPublicAddress(timeout));
}
////////////////////////////////////////////////////////////
/// Get the computer's loopback address
////////////////////////////////////////////////////////////
-sfIPAddress sfIPAddress_LocalHost()
+sfIpAddress sfIpAddress_LocalHost()
{
- return FromSFMLAddress(sf::IPAddress::LocalHost);
+ return FromSFMLAddress(sf::IpAddress::LocalHost);
}
diff --git a/CSFML/src/SFML/Network/SocketTCP.cpp b/CSFML/src/SFML/Network/SocketTCP.cpp
index 73b5a38c..edd8d44b 100644
--- a/CSFML/src/SFML/Network/SocketTCP.cpp
+++ b/CSFML/src/SFML/Network/SocketTCP.cpp
@@ -28,7 +28,7 @@
#include
#include
#include
-#include
+#include
#include
#include
@@ -79,9 +79,9 @@ void sfSocketTCP_SetBlocking(sfSocketTCP* socket, sfBool blocking)
////////////////////////////////////////////////////////////
/// Connect a TCP socket to another computer on a specified port
////////////////////////////////////////////////////////////
-sfSocketStatus sfSocketTCP_Connect(sfSocketTCP* socket, unsigned short port, sfIPAddress host, float timeout)
+sfSocketStatus sfSocketTCP_Connect(sfSocketTCP* socket, unsigned short port, sfIpAddress host, float timeout)
{
- sf::IPAddress address(host.Address);
+ sf::IpAddress address(host.Address);
CSFML_CHECK_RETURN(socket, sfSocketError);
@@ -103,13 +103,13 @@ sfBool sfSocketTCP_Listen(sfSocketTCP* socket, unsigned short port)
/// This function is blocking, ie. it won't return before
/// a connection has been accepted
////////////////////////////////////////////////////////////
-sfSocketStatus sfSocketTCP_Accept(sfSocketTCP* socket, sfSocketTCP** connected, sfIPAddress* address)
+sfSocketStatus sfSocketTCP_Accept(sfSocketTCP* socket, sfSocketTCP** connected, sfIpAddress* address)
{
CSFML_CHECK_RETURN(socket, sfSocketError);
CSFML_CHECK_RETURN(connected, sfSocketError);
// Call SFML internal function
- sf::IPAddress clientAddress;
+ sf::IpAddress clientAddress;
sf::SocketTCP client;
sf::Socket::Status status = socket->This.Accept(client, &clientAddress);
if (status != sf::Socket::Done)
diff --git a/CSFML/src/SFML/Network/SocketUDP.cpp b/CSFML/src/SFML/Network/SocketUDP.cpp
index efad583e..21665f3b 100644
--- a/CSFML/src/SFML/Network/SocketUDP.cpp
+++ b/CSFML/src/SFML/Network/SocketUDP.cpp
@@ -28,7 +28,7 @@
#include
#include
#include
-#include
+#include
#include
#include
@@ -97,12 +97,12 @@ sfBool sfSocketUDP_Unbind(sfSocketUDP* socket)
////////////////////////////////////////////////////////////
/// Send an array of bytes
////////////////////////////////////////////////////////////
-sfSocketStatus sfSocketUDP_Send(sfSocketUDP* socket, const char* data, size_t size, sfIPAddress address, unsigned short port)
+sfSocketStatus sfSocketUDP_Send(sfSocketUDP* socket, const char* data, size_t size, sfIpAddress address, unsigned short port)
{
CSFML_CHECK_RETURN(socket, sfSocketError)
// Convert the address
- sf::IPAddress receiver(address.Address);
+ sf::IpAddress receiver(address.Address);
return static_cast(socket->This.Send(data, size, receiver, port));
}
@@ -113,12 +113,12 @@ sfSocketStatus sfSocketUDP_Send(sfSocketUDP* socket, const char* data, size_t si
/// This function is blocking, ie. it won't return before some
/// bytes have been received
////////////////////////////////////////////////////////////
-sfSocketStatus sfSocketUDP_Receive(sfSocketUDP* socket, char* data, size_t maxSize, size_t* sizeReceived, sfIPAddress* address, unsigned short* port)
+sfSocketStatus sfSocketUDP_Receive(sfSocketUDP* socket, char* data, size_t maxSize, size_t* sizeReceived, sfIpAddress* address, unsigned short* port)
{
CSFML_CHECK_RETURN(socket, sfSocketError);
// Call SFML internal function
- sf::IPAddress sender;
+ sf::IpAddress sender;
unsigned short senderPort;
std::size_t received;
@@ -142,13 +142,13 @@ sfSocketStatus sfSocketUDP_Receive(sfSocketUDP* socket, char* data, size_t maxSi
////////////////////////////////////////////////////////////
/// Send a packet of data
////////////////////////////////////////////////////////////
-sfSocketStatus sfSocketUDP_SendPacket(sfSocketUDP* socket, sfPacket* packet, sfIPAddress address, unsigned short port)
+sfSocketStatus sfSocketUDP_SendPacket(sfSocketUDP* socket, sfPacket* packet, sfIpAddress address, unsigned short port)
{
CSFML_CHECK_RETURN(socket, sfSocketError);
CSFML_CHECK_RETURN(packet, sfSocketError);
// Convert the address
- sf::IPAddress receiver(address.Address);
+ sf::IpAddress receiver(address.Address);
return static_cast(socket->This.Send(packet->This, receiver, port));
}
@@ -159,12 +159,12 @@ sfSocketStatus sfSocketUDP_SendPacket(sfSocketUDP* socket, sfPacket* packet, sfI
/// This function is blocking, ie. it won't return before a
/// packet is received
////////////////////////////////////////////////////////////
-sfSocketStatus sfSocketUDP_ReceivePacket(sfSocketUDP* socket, sfPacket* packet, sfIPAddress* address, unsigned short* port)
+sfSocketStatus sfSocketUDP_ReceivePacket(sfSocketUDP* socket, sfPacket* packet, sfIpAddress* address, unsigned short* port)
{
CSFML_CHECK_RETURN(socket, sfSocketError);
CSFML_CHECK_RETURN(packet, sfSocketError);
- sf::IPAddress sender;
+ sf::IpAddress sender;
unsigned short senderPort;
sf::Socket::Status status = socket->This.Receive(packet->This, sender, senderPort);
if (status != sf::Socket::Done)
diff --git a/CSFML/src/SFML/Network/csfml-network-d.def b/CSFML/src/SFML/Network/csfml-network-d.def
index ae4309b5..c5c92905 100644
--- a/CSFML/src/SFML/Network/csfml-network-d.def
+++ b/CSFML/src/SFML/Network/csfml-network-d.def
@@ -49,15 +49,15 @@ EXPORTS
sfHttp_Destroy
sfHttp_SetHost
sfHttp_SendRequest
- sfIPAddress_FromString
- sfIPAddress_FromBytes
- sfIPAddress_FromInteger
- sfIPAddress_IsValid
- sfIPAddress_ToString
- sfIPAddress_ToInteger
- sfIPAddress_GetLocalAddress
- sfIPAddress_GetPublicAddress
- sfIPAddress_LocalHost
+ sfIpAddress_FromString
+ sfIpAddress_FromBytes
+ sfIpAddress_FromInteger
+ sfIpAddress_IsValid
+ sfIpAddress_ToString
+ sfIpAddress_ToInteger
+ sfIpAddress_GetLocalAddress
+ sfIpAddress_GetPublicAddress
+ sfIpAddress_LocalHost
sfSocketTCP_Create
sfSocketTCP_Destroy
sfSocketTCP_SetBlocking
diff --git a/CSFML/src/SFML/Network/csfml-network.def b/CSFML/src/SFML/Network/csfml-network.def
index 8a5381b3..e33b2f63 100644
--- a/CSFML/src/SFML/Network/csfml-network.def
+++ b/CSFML/src/SFML/Network/csfml-network.def
@@ -49,15 +49,15 @@ EXPORTS
sfHttp_Destroy
sfHttp_SetHost
sfHttp_SendRequest
- sfIPAddress_FromString
- sfIPAddress_FromBytes
- sfIPAddress_FromInteger
- sfIPAddress_IsValid
- sfIPAddress_ToString
- sfIPAddress_ToInteger
- sfIPAddress_GetLocalAddress
- sfIPAddress_GetPublicAddress
- sfIPAddress_LocalHost
+ sfIpAddress_FromString
+ sfIpAddress_FromBytes
+ sfIpAddress_FromInteger
+ sfIpAddress_IsValid
+ sfIpAddress_ToString
+ sfIpAddress_ToInteger
+ sfIpAddress_GetLocalAddress
+ sfIpAddress_GetPublicAddress
+ sfIpAddress_LocalHost
sfSocketTCP_Create
sfSocketTCP_Copy
sfSocketTCP_Destroy
diff --git a/build/codeblocks/sfml-network.cbp b/build/codeblocks/sfml-network.cbp
index 6ef81652..31d8a831 100644
--- a/build/codeblocks/sfml-network.cbp
+++ b/build/codeblocks/sfml-network.cbp
@@ -114,7 +114,7 @@
-
+
@@ -125,7 +125,7 @@
-
+
diff --git a/build/vc2005/sfml-network.vcproj b/build/vc2005/sfml-network.vcproj
index 39954c79..55edf761 100644
--- a/build/vc2005/sfml-network.vcproj
+++ b/build/vc2005/sfml-network.vcproj
@@ -369,11 +369,11 @@
>
#include
#include
-#include
+#include
#include
#include
#include
diff --git a/include/SFML/Network/Ftp.hpp b/include/SFML/Network/Ftp.hpp
index d78fc9d6..be059f3e 100644
--- a/include/SFML/Network/Ftp.hpp
+++ b/include/SFML/Network/Ftp.hpp
@@ -36,7 +36,7 @@
namespace sf
{
-class IPAddress;
+class IpAddress;
////////////////////////////////////////////////////////////
/// This class provides methods for manipulating the FTP
@@ -267,7 +267,7 @@ public :
/// \return Server response to the request
///
////////////////////////////////////////////////////////////
- Response Connect(const IPAddress& server, unsigned short port = 21, float timeout = 0.f);
+ Response Connect(const IpAddress& server, unsigned short port = 21, float timeout = 0.f);
////////////////////////////////////////////////////////////
/// Log in using anonymous account
diff --git a/include/SFML/Network/Http.hpp b/include/SFML/Network/Http.hpp
index d6d34d4c..7cdcf9fd 100644
--- a/include/SFML/Network/Http.hpp
+++ b/include/SFML/Network/Http.hpp
@@ -29,7 +29,7 @@
// Headers
////////////////////////////////////////////////////////////
#include
-#include
+#include
#include
#include