cancel
Showing results for 
Search instead for 
Did you mean: 

NetXDuo function nx_tcp_client_socket_connect returning unlisted error

isaquesuzuki
Associate II

Hello,

I'm trying to find out why nx_tcp_client_socket_connect is returning 0x38. This error code is not listed in documentation. Because of this, there is no ARP packet being sent.

 

static VOID nx_app_thread_entry (ULONG thread_input)

{

UINT status;

status = nx_tcp_socket_create(&NetXDuoEthIpInstance, &client_socket, "Client Socket",

NX_IP_NORMAL, NX_FRAGMENT_OKAY, NX_IP_TIME_TO_LIVE, 200,

NX_NULL, NX_NULL);

status = nx_tcp_client_socket_bind(&client_socket, 45450, NX_WAIT_FOREVER);

status = nx_tcp_client_socket_connect(&client_socket, IP_ADDRESS(192, 168, 15, 16), 45450, NX_IP_PERIODIC_RATE);

}

0 REPLIES 0