From 34ae7084911642a6507ed84a0b3619c5092457be Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Sat, 11 Jan 2014 18:21:51 +0000 Subject: [PATCH] Updated sendto to work with SPX sockets. --- src/winsock.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/winsock.c b/src/winsock.c index d6232c9..5e91578 100644 --- a/src/winsock.c +++ b/src/winsock.c @@ -982,6 +982,13 @@ int WSAAPI sendto(SOCKET fd, const char *buf, int len, int flags, const struct s if(sock) { + if(sock->flags & IPX_IS_SPX) + { + unlock_sockets(); + + return r_send(sock->fd, buf, len, flags); + } + if(!addr) { /* Destination address required. */