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(uint8_t byte0, uint8_t byte1, uint8_t byte2, uint8_t byte3);
void sfIpAddress_toString(sfIpAddress address, char *string)
Get a string representation of an address.
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_fromInteger(uint32_t address)
Construct an address from a 32-bits integer.
sfIpAddress sfIpAddress_fromBytes(uint8_t byte0, uint8_t byte1, uint8_t byte2, uint8_t byte3)
Create an address from 4 bytes.
sfIpAddress sfIpAddress_fromString(const char *address)
Create an address from a string.
sfIpAddress sfIpAddress_getPublicAddress(sfTime timeout)
Get the computer's public address.
uint32_t 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