2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-05-06 04:02:57 +00:00
This commit is contained in:
Ahmed Zamil 2020-02-23 13:10:53 +03:00
parent 1405891985
commit c3ef064b19
2 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class DistributedConnection extends NetworkConnection with IStore
var sock = new TCPSocket();
sock.connect(domain, port).then<dynamic>((x){
sock.connect(address, port).then<dynamic>((x){
assign(sock);
//rt.trigger(true);
}).error((x)=>_openReply.triggerError(x));

View File

@ -9,6 +9,8 @@ main()
// connect to the server
var x = await Warehouse.get("iip://localhost:5000/sys/su", {"username": "admin", "password": "1234"
, "domain": "example.com"});
x.instance.store.on("close", (x){
print("Closed");