mirror of https://github.com/eclipse/paho.mqtt.c
Update out of date mqtt server hostnames
This commit is contained in:
parent
75e91dd99b
commit
b79bcf0d40
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2021 IBM Corp., Ian Craggs and others
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
* @cond MQTTAsync_main
|
||||
* @mainpage Asynchronous MQTT client library for C
|
||||
*
|
||||
* © Copyright 2009, 2021 IBM Corp., Ian Craggs and others
|
||||
* © Copyright 2009, 2022 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* @brief An Asynchronous MQTT client library for C.
|
||||
*
|
||||
|
|
@ -1888,7 +1888,7 @@ LIBMQTT_API const char* MQTTAsync_strerror(int code);
|
|||
#include <OsWrapper.h>
|
||||
#endif
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientPub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
@ -2059,7 +2059,7 @@ int main(int argc, char* argv[])
|
|||
#include <OsWrapper.h>
|
||||
#endif
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientSub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2021 IBM Corp., Ian Craggs and others
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
* @endcond
|
||||
* @cond MQTTClient_main
|
||||
* @mainpage MQTT Client library for C
|
||||
* © Copyright 2009, 2021 IBM Corp., Ian Craggs and others
|
||||
* © Copyright 2009, 2022 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* @brief An MQTT client library in C.
|
||||
*
|
||||
|
|
@ -1581,7 +1581,7 @@ LIBMQTT_API const char* MQTTClient_strerror(int code);
|
|||
#include <string.h>
|
||||
#include "MQTTClient.h"
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientPub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
@ -1648,7 +1648,7 @@ int main(int argc, char* argv[])
|
|||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientPub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
@ -1757,7 +1757,7 @@ exit:
|
|||
#include <string.h>
|
||||
#include "MQTTClient.h"
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientSub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp.
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
#include <OsWrapper.h>
|
||||
#endif
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientPub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2021 IBM Corp., Ian Craggs
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
#include <OsWrapper.h>
|
||||
#endif
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientSub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp.
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
#include <string.h>
|
||||
#include "MQTTClient.h"
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientPub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp.
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientPub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp.
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
#include <string.h>
|
||||
#include "MQTTClient.h"
|
||||
|
||||
#define ADDRESS "tcp://mqtt.eclipse.org:1883"
|
||||
#define ADDRESS "tcp://mqtt.eclipseprojects.io:1883"
|
||||
#define CLIENTID "ExampleClientSub"
|
||||
#define TOPIC "MQTT Examples"
|
||||
#define PAYLOAD "Hello World!"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2018 IBM Corp.
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -56,9 +56,9 @@ struct Options
|
|||
int iterations;
|
||||
} options =
|
||||
{
|
||||
"tcp://mqtt.eclipse.org:1883",
|
||||
NULL,
|
||||
"tcp://localhost:1883",
|
||||
NULL,
|
||||
"tcp://localhost:1884",
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2020 IBM Corp. and others
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -55,7 +55,7 @@ struct Options
|
|||
int iterations;
|
||||
} options =
|
||||
{
|
||||
"tcp://m2m.eclipse.org:1883",
|
||||
"tcp://localhost:1883",
|
||||
NULL,
|
||||
0,
|
||||
0,
|
||||
|
|
|
|||
14
test/test3.c
14
test/test3.c
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp. and others
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -88,12 +88,12 @@ struct Options
|
|||
int websockets;
|
||||
} options =
|
||||
{
|
||||
"ssl://m2m.eclipse.org:18883",
|
||||
"ssl://m2m.eclipse.org:18884",
|
||||
"ssl://m2m.eclipse.org:18887",
|
||||
"ssl://m2m.eclipse.org:18885",
|
||||
"ssl://m2m.eclipse.org:18886",
|
||||
"ssl://m2m.eclipse.org:18888",
|
||||
"ssl://localhost:18883",
|
||||
"ssl://localhost:18884",
|
||||
"ssl://localhost:18887",
|
||||
"ssl://localhost:18885",
|
||||
"ssl://localhost:18886",
|
||||
"ssl://localhost:18888",
|
||||
NULL,
|
||||
0,
|
||||
"../../../test/ssl/client.pem",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2020 IBM Corp.
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -54,7 +54,7 @@ struct Options
|
|||
int iterations;
|
||||
} options =
|
||||
{
|
||||
"mqtt.eclipse.org:1883",
|
||||
"localhost:1883",
|
||||
0,
|
||||
-1,
|
||||
10000,
|
||||
|
|
|
|||
14
test/test5.c
14
test/test5.c
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp.
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -73,12 +73,12 @@ struct Options
|
|||
int start_port;
|
||||
} options =
|
||||
{
|
||||
"ssl://m2m.eclipse.org:18883",
|
||||
"ssl://m2m.eclipse.org:18884",
|
||||
"ssl://m2m.eclipse.org:18887",
|
||||
"ssl://m2m.eclipse.org:18885",
|
||||
"ssl://m2m.eclipse.org:18886",
|
||||
"ssl://m2m.eclipse.org:18888",
|
||||
"ssl://localhost:18883",
|
||||
"ssl://localhost:18884",
|
||||
"ssl://localhost:18887",
|
||||
"ssl://localhost:18885",
|
||||
"ssl://localhost:18886",
|
||||
"ssl://localhost:18888",
|
||||
NULL, // "../../../test/ssl/client.pem",
|
||||
NULL,
|
||||
NULL, // "../../../test/ssl/test-root-ca.crt",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp. and others
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -56,8 +56,8 @@ struct Options
|
|||
int test_no;
|
||||
} options =
|
||||
{
|
||||
"mqtt.eclipse.org:1883",
|
||||
"localhost:1883",
|
||||
"localhost:1884",
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2020 IBM Corp. and others
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -57,8 +57,8 @@ struct Options
|
|||
int test_no;
|
||||
} options =
|
||||
{
|
||||
"mqtt.eclipse.org:1883",
|
||||
"localhost:1883",
|
||||
"localhost:1884",
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2020 IBM Corp.
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -68,7 +68,7 @@ struct Options
|
|||
int iterations;
|
||||
} options =
|
||||
{
|
||||
"m2m.eclipse.org:1883",
|
||||
"localhost:1883",
|
||||
NULL,
|
||||
0,
|
||||
0,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2020 IBM Corp.
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -68,7 +68,7 @@ struct Options
|
|||
int iterations;
|
||||
} options =
|
||||
{
|
||||
"tcp://m2m.eclipse.org:1883",
|
||||
"tcp://localhost:1883",
|
||||
NULL,
|
||||
0,
|
||||
0,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2012, 2018 IBM Corp.
|
||||
* Copyright (c) 2012, 2022 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -57,8 +57,8 @@ struct Options
|
|||
int test_no;
|
||||
} options =
|
||||
{
|
||||
"mqtt.eclipse.org:1883",
|
||||
"localhost:1883",
|
||||
"localhost:1884",
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -60,9 +60,9 @@ struct Options
|
|||
int reconnect_period;
|
||||
} options =
|
||||
{
|
||||
"tcp://mqtt.eclipse.org:1883",
|
||||
NULL,
|
||||
"tcp://localhost:1883",
|
||||
NULL,
|
||||
"tcp://localhost:1884",
|
||||
"cli/test",
|
||||
NULL,
|
||||
NULL,
|
||||
|
|
|
|||
Loading…
Reference in New Issue