[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2891: Client socket does not connect


http://gambaswiki.org/bugtracker/edit?object=BUG.2891&from=L21haW4-

Gianluigi GRADASCHI reported a new bug.

Summary
-------

Client socket does not connect

Type             : Bug
Priority         : Medium
Gambas version   : 3.19
Product          : Unknown


Description
-----------

Hi Benoit,

a friend of ours from the Italian forum communicates that if you connect like this: 
Socket.Host = "192.168.0.71"
Socket.Port = 502

Socket.Connect()

the connection remains closed: 
Socket.Status = 0 (Net.Inactive)

However, if you connect like this:
Socket.Connect("192.168.0.71", 502)

the connection opens normally.
Socket.Status = 7 (Net.Connected)

Regards
Gianluigi


System information
------------------

3.19.1


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----