VxWorks 6.9 returns EISCONN when using sendto() with addr on TCP
This commit is contained in:
@@ -121,6 +121,13 @@ int lock_needed;
|
||||
|
||||
while(pclient->send.stk&&!pclient->disconnect){
|
||||
|
||||
if (pclient->proto == IPPROTO_TCP)
|
||||
status = send(
|
||||
pclient->sock,
|
||||
pclient->send.buf,
|
||||
pclient->send.stk,
|
||||
NULL);
|
||||
else
|
||||
status = sendto(
|
||||
pclient->sock,
|
||||
pclient->send.buf,
|
||||
|
||||
Reference in New Issue
Block a user