> Descent 2, which uses IPX for network games, makes calls to sendto() under
> Wine with sipx_family=AF_IPX and sipx_network=0xffffffff. These packets are
> sent out when attempting to start or join a network game, so a broadcast to
> all networks would make sense here (IMO). I haven't gotten Wine to
> successfully negotiate a network game yet, as I'm not on a lan right now and
> would have to set up a tunnel. However, I'm guessing (hoping) that once the
> game starts, the packets are a little more sane.
Maybe, I have to patch dosemu code to set sipx_type (byte just after
sipx_node in af_ipx structure) to value from IPX header created by dos
application:
ipxs.sipx_type = IPXHeader->PacketType;
instead of (meaningless)
ipxs.sipx_type = 1;
where IPXHeader is
typedef struct IPXPacketStructure {
u_short Checksum __attribute__((packed));
u_short Length __attribute__((packed));
u_char TransportControl __attribute__((packed));
u_char PacketType __attribute__((packed));
....
}
Maybe that same code is missing from Wine (I'm not using it and I have not
latest sources handy)? (and same code for recvfrom-
IPXHeader->PacketType = ipxs.sipx_type;
)
Petr Vandrovec
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]