Last IP address used is now saved
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user