mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 22:17:51 +00:00
Replaced socket_init calls with tc_init.
Some classes were still calling socket_init which had been removed. Replaced those calls with tc_init. Make compiled and make test successfully ran all tests. Jenkins should be happy now.
This commit is contained in:
parent
87423ec5aa
commit
86aaa8e9fa
@ -15,7 +15,7 @@ int Trick::MonteCarlo::initialize_sockets() {
|
|||||||
tc_error(&connection_device, 0);
|
tc_error(&connection_device, 0);
|
||||||
|
|
||||||
/** <ul><li> Initialize the sockets for communication with slaves. */
|
/** <ul><li> Initialize the sockets for communication with slaves. */
|
||||||
int return_value = socket_init(&listen_device);
|
int return_value = tc_init(&listen_device);
|
||||||
if (return_value != TC_SUCCESS) {
|
if (return_value != TC_SUCCESS) {
|
||||||
if (verbosity >= ERROR) {
|
if (verbosity >= ERROR) {
|
||||||
message_publish(MSG_ERROR, "Monte [Master] Failed to initialize status communication socket.\n") ;
|
message_publish(MSG_ERROR, "Monte [Master] Failed to initialize status communication socket.\n") ;
|
||||||
|
@ -29,7 +29,7 @@ int Trick::MonteCarlo::slave_init() {
|
|||||||
/** <li> Initialize the sockets. */
|
/** <li> Initialize the sockets. */
|
||||||
tc_error(&listen_device, 0);
|
tc_error(&listen_device, 0);
|
||||||
tc_error(&connection_device, 0);
|
tc_error(&connection_device, 0);
|
||||||
socket_init(&listen_device);
|
tc_init(&listen_device);
|
||||||
listen_device.disable_handshaking = TC_COMM_TRUE;
|
listen_device.disable_handshaking = TC_COMM_TRUE;
|
||||||
|
|
||||||
/** <li> Connect to the master and write the port over which we are listening for new runs. */
|
/** <li> Connect to the master and write the port over which we are listening for new runs. */
|
||||||
|
Loading…
Reference in New Issue
Block a user