Home > Mobile >  In the Delphi MBSocket: TMBSocket control problem
In the Delphi MBSocket: TMBSocket control problem

Time:10-01

One WIFI module, 232
It WIFI name for USR_xx
, the IP address for 10.10.100.254
. The port is 8899.
Is written in Delphi android APP, with MBSocket control, part of the program as follows
Try
Mbsocket. Host:=trim (' 10.10.100.254 ');
Mbsocket. Port:=8899;
Mbsocket. Open;
Except,
On e: the exception do
Memo1. Lines. The Add (formatdatetime (' hh: nn: ss ', now) + ':==& gt; Connect to the server failed! '+ lassName + of e.c. with our fabrication:' - '+ e.M essage);
end;

Question: when the mobile WIFI access not USR_xx the WIFI, but other WIFI, then open the phone APP that black screen, crash, an open software program code, then go to the link network,
I think the program card dead in mbsocket. Open; -> RawSocket:=TSocket. Create (TSocketType. TCP, TEncoding. UTF8); This position

CodePudding user response:

Where can I obtain TMBSocket controls, I also want to try one on
  • Related