__DEBUGMSG("[DRIVER SOCKETS] Try to write from task=%d, port=%d, local_device=%d, remote device=%d, socket=%d\n",task_id,port,local_device,remote_device,__po_hi_c_sockets_write_sockets[remote_device]);
if(request->port==-1)
{
...
...
@@ -131,7 +129,7 @@ int __po_hi_driver_sockets_send (__po_hi_task_id task_id,
if(device_status.status!=po_hi_monitor_status_ok)
{
__DEBUGMSG("[DRIVER SOCKETS] Device has a problem and is not able to process the request, aborting (device-id=%d, status= %d)\n",local_device,device_status);
__DEBUGMSG("[DRIVER SOCKETS] Device has a problem and is not able to process the request, aborting (device-id=%d, status= %d)\n",local_device,device_status.status);
return__PO_HI_ERROR_TRANSPORT_SEND;
}
#endif
...
...
@@ -187,16 +185,17 @@ int __po_hi_driver_sockets_send (__po_hi_task_id task_id,