Last change
on this file since 413 was 398, checked in by coas-nagasima, 5 years ago |
mbedTLS版Azure IoT Hub接続サンプルのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
217 bytes
|
Line | |
---|
1 | #include <arpa/inet.h>
|
---|
2 | #include <stdio.h>
|
---|
3 |
|
---|
4 | char *inet_ntoa(struct in_addr in)
|
---|
5 | {
|
---|
6 | static char buf[16];
|
---|
7 | unsigned char *a = (void *)∈
|
---|
8 | snprintf(buf, sizeof buf, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]);
|
---|
9 | return buf;
|
---|
10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.