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:
parent
b342f6c68d
commit
34ae708491
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user