1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Updated sendto to work with SPX sockets.

This commit is contained in:
Daniel Collins 2014-01-11 18:21:51 +00:00
parent b342f6c68d
commit 34ae708491

View File

@ -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. */