mathpaquette / IQFeed.CSharpApiClient

IQFeed.CSharpApiClient is fastest and the most well-designed C# DTN IQFeed socket API connector available
MIT License
121 stars 42 forks source link

Fix for .NET Core startup hang - IsPortOpen never succeeded #59

Closed NichUK closed 4 years ago

NichUK commented 4 years ago

Fix for #58

Allows IsPortOpen to succeed and return in .NET Core.

mathpaquette commented 4 years ago

@NichUK how to replicate the issue? Just by using .NET Core 3.1?

NichUK commented 4 years ago

Yes. I ran up a 4 line app, based on your "how to use" example, and it wouldn't run on Core 3.1 until I made that change. I confess, I didn't spend too much time researching why that might be, or why the change might have fixed it, as it did. :)

mathpaquette commented 4 years ago

tested. looks good for me. thanks for the fix and your transparency.