[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Socket.Connect not working
[Thread Prev] | [Thread Next]
- Subject: Re: Socket.Connect not working
- From: T Lee Davidson <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 11 Feb 2025 12:35:27 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
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] ----
| Socket.Connect not working | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
| Re: Socket.Connect not working | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
| Re: Socket.Connect not working | BB <adamnt42@xxxxxxxxx> |