Loading...
Searching...
No Matches
IpAddress.h
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
98CSFML_NETWORK_API sfIpAddress sfIpAddress_fromBytes(sfUint8 byte0, sfUint8 byte1, sfUint8 byte2, sfUint8 byte3);
void sfIpAddress_toString(sfIpAddress address, char *string)
Get a string representation of an address.
sfIpAddress sfIpAddress_fromBytes(sfUint8 byte0, sfUint8 byte1, sfUint8 byte2, sfUint8 byte3)
Create an address from 4 bytes.
const sfIpAddress sfIpAddress_Broadcast
UDP broadcast address (255.255.255.255)
Definition IpAddress.h:67
const sfIpAddress sfIpAddress_LocalHost
Local host IP address (127.0.0.1, or "localhost")
Definition IpAddress.h:61
sfIpAddress sfIpAddress_getLocalAddress(void)
Get the computer's local address.
sfIpAddress sfIpAddress_fromString(const char *address)
Create an address from a string.
sfIpAddress sfIpAddress_getPublicAddress(sfTime timeout)
Get the computer's public address.
sfIpAddress sfIpAddress_fromInteger(sfUint32 address)
Construct an address from a 32-bits integer.
sfUint32 sfIpAddress_toInteger(sfIpAddress address)
Get an integer representation of the address.
const sfIpAddress sfIpAddress_None
Empty object that represents invalid addresses.
Definition IpAddress.h:49