Last IP address used is now saved

This commit is contained in:
pagefault
2001-08-25 03:15:43 +00:00
parent 11337cc183
commit 76772b99ff
8 changed files with 16 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ EXTSYM InitTCP
EXTSYM StartServerCycle
EXTSYM ServerCheckNewClient
EXTSYM acceptzuser
EXTSYM GUINetTextk2
EXTSYM TCPIPAddress
EXTSYM ConnectServer
EXTSYM WaitForServer
EXTSYM SendData
@@ -1500,8 +1500,8 @@ NEWSYM TCPIPInitConnectToServer
or eax,eax
jnz .failed
mov byte[TCPIPStatus],1
; Convert GUINetTextk2 to IPAddrStr
mov ebx,GUINetTextk2
; Convert TCPIPAddress to IPAddrStr
mov ebx,TCPIPAddress
mov edx,IPAddrStr
.notend
mov al,[ebx]

View File

@@ -45,7 +45,7 @@ extern unsigned char Palette0, SPC700sh, OffBy1Line, DSPDisable,
romtype, scanlines, showallext, smallscreenon, soundon,
spcon, vsyncon, DisplayS, fname, filefound, SnowOn,
NetChatFirst,NetServer,NetNewNick,
NetFilename,GUINetTextk2,NetQuitAfter,UDPConfig;
NetFilename,TCPIPAddress,NetQuitAfter,UDPConfig;
int getopt(int argc, char *const argv[], const char *optstring);
extern char *optarg;