How do you connect Python with D via socket, I'm still getting connection refused error

Enjoys Math enjoysmath at gmail.com
Thu May 10 21:03:24 UTC 2018


On Friday, 4 May 2018 at 13:52:29 UTC, Andy Smith wrote:
> On Thursday, 3 May 2018 at 23:58:24 UTC, Enjoys Math wrote:
>> Error
>> -----
>>
>> [...]
>
>
> Haven't run it, but two things to try...
>
> On D side.... try adding listen after bind.
>
> On python side. Don't think you need to call bind the client 
> socket ( this may cause problems).
>
> Cheers,
>
> A.

That got it to work, nvm.


More information about the Digitalmars-d-learn mailing list