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

Re: Socket.Connect not working


On 2/11/25 2:05 AM, BB wrote:
Try

SockClient1.Connect("::1", 8080)

see if its an IP6 problem.

b

I don't know why a difference in how the .Host and .Port are specified could be an IP4/IP6 issue. But for completeness:
SockClient1.Connect("::1", 8080) ' Does not work
SockClient1.Connect("localhost", 8080) ' Does not work
[code]
  SockClient1.Host = "127.0.0.1"
  SockClient1.Port = 8080
  SockClient1.Connect()
[/code]
... does not work.

Only 'SockClient1.Connect("127.0.0.1", 8080)' works.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


References:
Socket.Connect not workingT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: Socket.Connect not workingT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: Socket.Connect not workingBB <adamnt42@xxxxxxxxx>