Compiler: gcc 2.95.2
Host: UltraSPARC (solaris 2.6)
prboom 2.1.1
For each connected member of a network game,
the server prints a line
'Join by '
without a name.
As far as I see, the name of the client
was not transmitted at all. Indeed the
structure initpacket.myaddr was not
filled with anything useful.
insert in d_client.c, line 105, D_InitNetGame():
if (gethostname(initpacket.myaddr, 200)<0)
strcpy(initpacket.myaddr, "too.long");
I think, this bug applies to all unix versions.
Oli
Applies to all versions AFAIK, I just never got around to fixing it.
Obsolete feature, removed in CVS.
It still does not display anything because
void I_PrintAddress(FILE* fp, UDP_CHANNEL *addr)
in i_udp_sdl.c
does not contain any code.
Oli
SDL_net doesn't have any API for showing the remote machine; I'm planning to drop SDL_net when I rewrite this stuff.