Differences From Artifact [2892632dc8]:
- File
src/socket.h
— part of check-in
[8aeee6680a]
at
2018-07-28 20:21:01
on branch trunk
— Add of_socket_address_ip_string()
This replaces of_address_to_string_and_port(). (user: js, size: 3792) [annotate] [blame] [check-ins using]
To Artifact [f9393485f9]:
- File src/socket.h — part of check-in [4f49f55859] at 2018-08-05 20:00:03 on branch trunk — Add a few missing casts (user: js, size: 3726) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
46 47 48 49 50 51 52 | # endif # include <windows.h> # include <ws2tcpip.h> #endif /*! @file */ | | | < < < < < < < | | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# endif
# include <windows.h>
# include <ws2tcpip.h>
#endif
/*! @file */
#if defined(OF_AMIGAOS) && defined(OF_MORPHOS_IXEMUL)
struct sockaddr_storage {
uint8_t ss_len;
sa_family_t ss_family;
char ss_data[2 + sizeof(struct in_addr) + 8];
};
#endif
#ifdef OF_MORPHOS
typedef long socklen_t;
#endif
#ifdef OF_MORPHOS_IXEMUL
typedef int socklen_t;
#endif
#ifdef OF_WII
# include <network.h>
struct sockaddr_storage {
u8 ss_len;
sa_family_t ss_family;
u8 ss_data[14];
};
#endif
#ifdef OF_PSP
# include <stdint.h>
|
| ︙ | ︙ |